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

05 Mar 2025, 14:05

Type Values Removed Values Added
References () https://hackerone.com/reports/2890322 - () https://hackerone.com/reports/2890322 - Permissions Required
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
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
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:cgi:0.3.6:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:ruby:3.1.0:*:*:*:*:*:*:*

04 Mar 2025, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-04 00:15

Updated : 2025-03-05 14:05


NVD link : CVE-2025-27220

Mitre link : CVE-2025-27220


JSON object : View

Products Affected

ruby-lang

  • cgi
  • ruby
CWE

No CWE.