CVE-2025-27220

State
Published
Severity
4.0 Medium
Published
Mar 3, 2025
Updated
Nov 3, 2025
Reserved
Feb 20, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:Lmitre

Weaknesses

  • CWE-1333 Inefficient Regular Expression Complexity

Affected Products

ProductVersions
CGIruby-lang
  • before 0.3.5.1Affected
  • 0.3.6 to before 0.3.7Affected
  • 0.4.0 to before 0.4.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.