CVEvulnerability
CVE-2025-27219
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2025-03-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.8 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-770
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.
Affected configurations
• ruby-lang cgi (< 0.3.5.1)
• ruby-lang cgi (>= 0.4.0 < 0.4.2)
• ruby-lang cgi 0.3.6
Related
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- 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 lists.debian.org