CVE-2025-49007 ReDoS Vulnerability in Rack::Multipart handle_mime_head
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Debian
Description
Rack is a modular Ruby web server interface. Starting in version 3.1.0 and prior to version 3.1.16, there 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. Carefully 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. Version 3.1.16 contains a patch for the vulnerability.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ruby-rack(Debian 13) | < 3.1.16-0.1 | 3.1.16-0.1 | Fixed |
| debian/ruby-rack(Debian 14) | < 3.1.16-0.1 | 3.1.16-0.1 | Fixed |
| rack | = >= 3.1.0, < 3.1.16; >= 3.1.0, < 3.1.16 | 3.1.16 | Fixed |
| rubygems rack(RubyGems) | = 3.1.0; = 3.1.1; = 3.1.2; = 3.1.3 +13 more | 3.1.16 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems rack(RubyGems) | >= 3.1.0, < 3.1.16 | 3.1.16 |
| rubygems rack(RubyGems) | = 3.1.0 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.1 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.10 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.11 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.12 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.13 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.14 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.15 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.2 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.3 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.4 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.5 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.6 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.7 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.8 | No fix listed |
| rubygems rack(RubyGems) | = 3.1.9 | No fix listed |
| debian/ruby-rack(Debian:13) | < 3.1.16-0.1 | 3.1.16-0.1 |
| debian/ruby-rack(Debian:14) | < 3.1.16-0.1 | 3.1.16-0.1 |
| rack | = >= 3.1.0, < 3.1.16 | No fix listed |
| rack | >= 3.1.0, < 3.1.16 | 3.1.16 |
References
- https://github.com/rack/rack/security/advisories/GHSA-47m2-26rw-j2jw vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/rack/rack/commit/4795831a0a310c2d31102749e551b38faab6401f patch
- https://github.com/rack/rack/commit/aed514df37e33907df3c971ed3ca9a0a20ac2901 patch
- github.com product
- github.com exploit
- Debian Security Tracker CVE-2025-49007 vendor-advisory
- github.com
- bugs.debian.org issue-tracking