What’s Vulnerable › Vulnerabilities
CVE-2022-44571: Denial of Service Vulnerability in Rack Content-Disposition parsing
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-09 · updated 2026-06-17
- Weakness: CWE-400
Description
There is a denial of service vulnerability in the Content-Disposition parsingcomponent of Rack fixed in 2.0.9.2, 2.1.4.2, 2.2.4.1, 3.0.0.1. This could allow an attacker to craft an input that can cause Content-Disposition header parsing in Rackto take an unexpected amount of time, possibly resulting in a denial ofservice attack vector. This header is used typically used in multipartparsing. Any applications that parse multipart posts using Rack (virtuallyall Rails applications) are impacted.
Affected products
- rack: from 2.0.0 before 2.0.9.2; from 2.1.0 before 2.1.4.2; from 2.2.0 before 2.2.6.1; from 3.0.0.0 before 3.0.4.1 — fixed in 2.0.9.2, 2.1.4.2, 2.2.6.1, 3.0.4.1
- Rubygems Rack: from 2.0.0 before 2.0.9.2; from 2.1.0 before 2.1.4.2; from 2.2.0 before 2.2.6.1; from 3.0.0.0 before 3.0.4.1; 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6 (+23) — fixed in 2.0.9.2, 2.1.4.2, 2.2.6.1, 3.0.4.1
How to fix
Upgrade to a fixed version: rack 2.0.9.2, 2.1.4.2, 2.2.6.1, 3.0.4.1; Rubygems Rack 2.0.9.2, 2.1.4.2, 2.2.6.1, 3.0.4.1. Check the vendor advisory for mitigations.
References
- https://discuss.rubyonrails.org/t/cve-2022-44571-possible-denial-of-service-vulnerability-in-rack-content-disposition-parsing/82126
- https://security.netapp.com/advisory/ntap-20231208-0013/
- https://www.debian.org/security/2023/dsa-5530
- https://discuss.rubyonrails.org/t/cve-2022-44571-possible-denial-of-service-vulnerability-in-rack-content-disposition-parsing/82126
- https://security.netapp.com/advisory/ntap-20231208-0013/
- https://www.debian.org/security/2023/dsa-5530
Get alerted when CVE-2022-44571 or the next vulnerability affects your stack