Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Lang | Cgi | < 0.3.5.1 |
Related Weaknesses (CWE)
References
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27219.Third Party Advisory
- https://hackerone.com/reports/2936778Permissions Required
- https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html
FAQ
What is CVE-2025-27219?
CVE-2025-27219 is a vulnerability with a CVSS score of 5.8 (MEDIUM). 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 ...
How severe is CVE-2025-27219?
CVE-2025-27219 has been rated MEDIUM with a CVSS base score of 5.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-27219?
Check the references section above for vendor advisories and patch information. Affected products include: Ruby-Lang Cgi.