PoC Monitor
← All CVEs
CVE-2025-27220published 3 Mar 2025 00:00 UTCData: JSON · API

Ruby-lang CGI

In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-1333
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

ruby-lang CGI
  • < 0.3.5.1
  • >= 0.3.6, < 0.3.7
  • >= 0.4.0, < 0.4.2

Fixed in 0.3.5.1, 0.3.7, 0.4.2

Mitigation

Upgrade CGI to 0.3.5.1 or 0.3.7 or 0.4.2 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published3 Mar 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.