CVE-2025-49007
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-49007
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2025-49007.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 3.1.16-0.1 |
| debian | sid | fixed | 3.1.16-0.1 |
| debian | trixie | fixed | 3.1.16-0.1 |
References
- https://github.com/rack/rack/security/advisories/GHSA-47m2-26rw-j2jw
- https://www.suse.com/security/cve/CVE-2025-49007.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-49007
- https://github.com/rack/rack/commit/4795831a0a310c2d31102749e551b38faab6401f
- https://github.com/rack/rack/commit/aed514df37e33907df3c971ed3ca9a0a20ac2901
- https://github.com/rack/rack
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-49007.yml
- https://security-tracker.debian.org/tracker/CVE-2025-49007
Verify integrity in audit chain (admin only). AS-IS.