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.
CVSS Metrics
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
- Attack Vector
- network
- Complexity
- high
- Privileges
- none
- User Action
- none
- Scope
- changed
- Confidentiality
- none
- Integrity
- none
- Availability
- low
- Weaknesses
- CWE-1333CWE-1333
Metadata
- Primary Vendor
- RUBY-LANG
- Published
- 3/4/2025
- Last Modified
- 11/3/2025
- Source
- NIST NVD
- Note: Verify all details with official vendor sources before applying patches.
Affected Products
ruby-lang : cgiruby-lang : cgiruby-lang : cgi
AI-Powered Remediation
Generate remediation guidance or a C-suite brief for this vulnerability.