cbcvebase.
CVE-2025-27219
published 2025-03-04

CVE-2025-27219: 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…

PriorityP339high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.78%
51.4th percentile
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

13 ranges
VendorProductVersion rangeFixed in
debianruby2.7< ruby2.7 2.7.4-1+deb11u5 (bullseye)ruby2.7 2.7.4-1+deb11u5 (bullseye)
debianruby3.1< ruby2.7 2.7.4-1+deb11u5 (bullseye)ruby2.7 2.7.4-1+deb11u5 (bullseye)
debianruby3.3< ruby2.7 2.7.4-1+deb11u5 (bullseye)ruby2.7 2.7.4-1+deb11u5 (bullseye)
msrcazl3_ruby_3.3.5-3_on_azure_linux_3.0
msrccbl2_glib_2.60.1-5_on_cbl_mariner_2.0
msrccbl2_ruby_3.1.4-9_on_cbl_mariner_2.0
ruby-langcgi< 0.3.5.10.3.5.1
ruby-langcgi
ruby-langcgi>= 0 < 0.3.5.10.3.5.1
ruby-langcgi>= 0.3.6 < 0.3.70.3.7
ruby-langcgi>= 0.3.6 < 0.3.70.3.7
ruby-langcgi>= 0.4.0 < 0.4.20.4.2
ruby-langcgi>= 0.4.0 < 0.4.20.4.2

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
ghsa7.5HIGH
osv7.5HIGH
vendor_msrc7.5HIGH
vendor_ubuntu7.5HIGH
vendor_debian5.8MEDIUM
vendor_redhat5.8MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.