{"id":"CVE-2024-25126","summary":"Rack ReDos in content type parsing (2nd degree polynomial)","details":"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.","aliases":["GHSA-22f2-v57c-j9cx"],"modified":"2026-04-10T05:10:56.081475Z","published":"2024-02-28T23:28:07.073Z","related":["ALSA-2024:2113","ALSA-2024:2953","CGA-8j4q-ff96-64p9","MGASA-2024-0123","SUSE-SU-2024:0765-1","SUSE-SU-2024:0946-1","SUSE-SU-2024:1131-1","openSUSE-SU-2024:13726-1","openSUSE-SU-2024:13727-1","openSUSE-SU-2025:14811-1","openSUSE-SU-2025:14875-1","openSUSE-SU-2026:10286-1","openSUSE-SU-2026:10358-1"],"database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25126.json","cwe_ids":["CWE-1333"]},"references":[{"type":"WEB","url":"https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25126.json"},{"type":"ADVISORY","url":"https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx"},{"type":"ADVISORY","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25126"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240510-0005/"},{"type":"FIX","url":"https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462"},{"type":"FIX","url":"https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rack/rack","events":[{"introduced":"52901caf09ebcda879512a8605059963a49df55d"},{"fixed":"a4bc5e0f41c750135969ceece8772ab112dc8f17"}],"database_specific":{"versions":[{"introduced":"3.0.0"},{"fixed":"3.0.9.1"}]}},{"type":"GIT","repo":"https://github.com/rack/rack","events":[{"introduced":"e33cc65a013952935c6bb70e24f359023c075e84"},{"fixed":"e83001100ad9dd24e1744b13669dcb2736a13ebd"}],"database_specific":{"versions":[{"introduced":"0.4"},{"fixed":"2.2.8.1"}]}}],"versions":["3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.0.4.1","v3.0.5","v3.0.6","v3.0.7","v3.0.8","v3.0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-25126.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}