CVE-2025-27220

HIGH EPSS 48.6%
Published Mar 4, 20251y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
High
Find Similar
Published Mar 4, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
7.5
Exploitability
3.9
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
48.6% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-1333

Affected Products 5

VendorProductVersionRange
ruby-langcgi* <0.3.5.1
ruby-langcgi*≥0.4.0  –  <0.4.2
ruby-langcgi0.3.6any
ruby-langruby3.1.0any
ruby-langruby3.2.0any

References 3

  • github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27220.yml
    Third Party Advisory
  • hackerone.com https://hackerone.com/reports/2890322
    Permissions Required
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.