CVE-2025-27220

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/03/2025
Last modified:
05/03/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:* 0.3.5.1 (excluding)
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:* 0.4.0 (including) 0.4.2 (excluding)
cpe:2.3:a:ruby-lang:cgi:0.3.6:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:ruby:3.1.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:3.2.0:*:*:*:*:*:*:*