Vulnerabilities · 2025 · Rack
CVE-2025-49007
Rack vulnerability
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.
Affected products
Rack. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rack runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/rack/rack/security/advisories/GHSA-47m2-26rw-j2jw · Vendor Advisory
- github.com/rack/rack/commit/4795831a0a310c2d31102749e551b38faab6401f · Patch
- github.com/rack/rack/commit/aed514df37e33907df3c971ed3ca9a0a20ac2901 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-49007
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-49007.yml
- github.com/advisories/GHSA-47m2-26rw-j2jw
- nvd.nist.gov/vuln/detail/CVE-2025-49007
- cve.org/CVERecord?id=CVE-2025-49007
More vulnerabilities in Rack products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.