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 publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.