{"cve":"CVE-2025-27219","nvd":{"published":"2025-03-04T00:15:31.550","modified":"2026-06-17T09:03:14.137","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770"],"references":["https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27219.yml","https://hackerone.com/reports/2936778","https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html"],"products":["ruby-lang:cgi"],"source":"nvd","synced_at":"2026-10-19T21:59:48.811064707+00:00"},"epss":{"cve":"CVE-2025-27219","score":0.00849,"percentile":0.58155,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-gh9q-2xrm-x6qv","url":"https://osv.dev/vulnerability/GHSA-gh9q-2xrm-x6qv","summary":"CGI has Denial of Service (DoS) potential in Cookie.parse","modified":"2026-09-10T03:49:48.446743004Z","packages":[{"ecosystem":"RubyGems","name":"cgi","purl":"pkg:gem/cgi","ranges":["<0.3.5.1"],"fixed":["0.3.5.1"]},{"ecosystem":"RubyGems","name":"cgi","purl":"pkg:gem/cgi","ranges":[">=0.3.6 <0.3.7"],"fixed":["0.3.7"]},{"ecosystem":"RubyGems","name":"cgi","purl":"pkg:gem/cgi","ranges":[">=0.4.0 <0.4.2"],"fixed":["0.4.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}