Severity
7.5HIGHNVD
CNA5.8OSV6.6
EPSS
0.3%
top 45.32%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 4
Latest updateApr 27

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 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

CVEListV5ruby-lang/cgi0.3.60.3.7+2
NVDruby-lang/cgi0.4.00.4.2+2
RubyGemsruby-lang/cgi0.3.60.3.7+2

🔴Vulnerability Details

5
OSV
ruby2.3, ruby2.5 vulnerabilities2025-04-17
OSV
CVE-2025-27219: In the CGI gem before 02025-03-04
OSV
CGI has Denial of Service (DoS) potential in Cookie.parse2025-03-03
GHSA
CGI has Denial of Service (DoS) potential in Cookie.parse2025-03-03
CVEList
CVE-2025-27219: In the CGI gem before 02025-03-03

📋Vendor Advisories

6
Ubuntu
Ruby vulnerabilities2025-04-17
Ubuntu
Ruby vulnerabilities2025-04-07
Microsoft
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 2025-03-11
Red Hat
CGI: Denial of Service in CGI::Cookie.parse2025-03-03
Debian
CVE-2025-27219: ruby2.7 - In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI li...2025

💬Community

1
HackerOne
[CVE-2025-27219] Denial of Service in CGI::Cookie.parse2025-04-27
CVE-2025-27219 — Ruby-lang CGI vulnerability | cvebase