CVE-2025-27220

In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.
Configurations

Configuration 1 (hide)

AND
OR cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:0.3.6:*:*:*:*:ruby:*:*
OR cpe:2.3:a:ruby-lang:ruby:3.1.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:3.2.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2025-03-04 00:15

Updated : 2025-11-03 22:18


NVD link : CVE-2025-27220

Mitre link : CVE-2025-27220

CVE.ORG link : CVE-2025-27220


JSON object : View

Products Affected

ruby-lang

  • ruby
  • cgi
CWE
CWE-1333

Inefficient Regular Expression Complexity