Ruby-lang CGI
In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of Service (DoS) vulnerability. The method does not impose any limit on the length of the raw cookie value it processes. This oversight can lead to excessive resource consumption when parsing extremely large cookies.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-770
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.