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.
References
| Link | Resource |
|---|---|
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27219.yml | Third Party Advisory |
| https://hackerone.com/reports/2936778 | Permissions Required |
| https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2025-03-04 00:15
Updated : 2025-11-03 22:18
NVD link : CVE-2025-27219
Mitre link : CVE-2025-27219
CVE.ORG link : CVE-2025-27219
JSON object : View
Products Affected
ruby-lang
- cgi
CWE
CWE-770
Allocation of Resources Without Limits or Throttling
