Description
In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.
Scores
CVSS v3
4.0
EPSS
0.0025
EPSS Percentile
48.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-1333
Status
published
Products (3)
ruby-lang/cgi
0.3.6
ruby-lang/cgi
< 0.3.5.1
rubygems/cgi
0 - 0.3.5.1RubyGems
Published
Mar 04, 2025
Tracked Since
Feb 18, 2026