{"id":"CVE-2024-25126","published":"2024-02-28T23:28:07Z","modified":"2025-02-13T17:40:47Z","title":"Rack ReDos in content type parsing (2nd degree polynomial)","vendor":"rack","product":"rack","tier":"tail","description":{"text":"Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02166,"percentile":0.8292,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462","tags":["x_refsource_MISC"]},{"url":"https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49","tags":["x_refsource_MISC"]},{"url":"https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941","tags":["x_refsource_MISC"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0005/","tags":[]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":16.58},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"rack","affectedVersions":[{"vendor":"rack","product":"rack","versions":[">= 3.0.0, < 3.0.9.1",">= 0.4, < 2.2.8.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-12T17:41:06.470602Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"rack","vulnerableRanges":[">=3.0.0, <3.0.9.1",">=0.4, <2.2.8.1"],"patched":["3.0.9.1","2.2.8.1"],"from":["GHSA-22f2-v57c-j9cx"],"provenance":"source"}],"summary":{"text":"The flaw is in Rack, a modular Ruby web server interface, specifically in its media type parser that handles content type headers, where crafted input can trigger a regular expression complexity problem. An attacker who can send HTTP requests to the affected application can exploit it without authentication or user interaction by submitting specially crafted content type headers, causing the parser to consume excessive time and resources, though the impact is limited to denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:05Z"},"euvd":{"id":"EUVD-2024-0462","exploited":false,"provenance":"source"}}