{"id":"CVE-2025-27219","published":"2025-03-03T00:00:00Z","modified":"2025-11-03T21:13:23Z","title":"In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of…","vendor":"ruby-lang","product":"CGI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01496,"percentile":0.74444,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://hackerone.com/reports/2936778","tags":[]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27219.yml","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html","tags":[]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":14.89},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"ruby-lang","affectedVersions":[{"vendor":"ruby-lang","product":"CGI","versions":["< 0.3.5.1",">= 0.3.6, < 0.3.7",">= 0.4.0, < 0.4.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-04T16:41:05.727608Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"cgi","vulnerableRanges":["<0.3.5.1",">=0.3.6, <0.3.7",">=0.4.0, <0.4.2"],"patched":["0.3.5.1","0.3.7","0.4.2"],"from":["GHSA-gh9q-2xrm-x6qv"],"provenance":"source"}],"summary":{"text":"The CGI gem before 0.4.2 for Ruby has a flaw in the CGI::Cookie.parse method of the CGI library, which places no limit on the length of the raw cookie value it processes. An attacker can send an extremely large cookie over the network with no authentication or user interaction required, causing excessive resource consumption and a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:23Z"},"euvd":{"id":"EUVD-2025-5556","exploited":false,"provenance":"source"}}