{"id":"GHSA-47m2-26rw-j2jw","summary":"ReDoS Vulnerability in Rack::Multipart handle_mime_head","details":"### Summary\nThere is a denial of service vulnerability in the Content-Disposition parsing component of Rack. This is very similar to the previous security issue CVE-2022-44571.\n\n### Details\n\nCarefully crafted input can cause Content-Disposition header parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. This header is used typically used in multipart parsing. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted.\n\n### Credits\n\nThanks to [scyoon](https://hackerone.com/scyoon) for reporting this to the Rails security team","aliases":["CVE-2025-49007"],"modified":"2026-07-17T21:13:54.058247577Z","published":"2025-06-05T05:21:34Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-06-05T05:21:34Z","nvd_published_at":"2025-06-04T23:15:21Z","cwe_ids":["CWE-770"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/rack/rack/security/advisories/GHSA-47m2-26rw-j2jw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49007"},{"type":"WEB","url":"https://github.com/rack/rack/commit/4795831a0a310c2d31102749e551b38faab6401f"},{"type":"WEB","url":"https://github.com/rack/rack/commit/aed514df37e33907df3c971ed3ca9a0a20ac2901"},{"type":"PACKAGE","url":"https://github.com/rack/rack"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-49007.yml"}],"affected":[{"package":{"name":"rack","ecosystem":"RubyGems","purl":"pkg:gem/rack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"3.1.16"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-47m2-26rw-j2jw/GHSA-47m2-26rw-j2jw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}]}