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

03 Nov 2025, 22:18

Type Values Removed Values Added
Summary
  • (es) En la gema CGI anterior a 0.4.2 para Ruby, existe una vulnerabilidad de denegación de servicio de expresión regular (ReDoS) en el método Util#escapeElement.
First Time Ruby-lang ruby
Ruby-lang
Ruby-lang cgi
CPE cpe:2.3:a:ruby-lang:ruby:3.2.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:3.1.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:0.3.6:*:*:*:*:ruby:*:*
References
  • () https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html -
References () https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27220.yml - () https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27220.yml - Third Party Advisory
References () https://hackerone.com/reports/2890322 - () https://hackerone.com/reports/2890322 - Permissions Required

04 Mar 2025, 00:15

Type Values Removed Values Added
New CVE

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