Vulnerability · Published Feb 9, 2023 · Assigned by hackerone
CVE-2022-44571
High 7.5
In plain English
A high-severity uncontrolled resource consumption in https://github.com/rack/rack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ruby-rack | 2.2.4-3 | DEBIAN-CVE-2022-44571 |
| Debian:13 | ruby-rack | 2.2.4-3 | DEBIAN-CVE-2022-44571 |
| Debian:14 | ruby-rack | 2.2.4-3 | DEBIAN-CVE-2022-44571 |
| RubyGems | rack | 3.0.4.1 | GHSA-93pm-5p5f-3ghx |
| RubyGems | rack | 2.2.6.1 | GHSA-93pm-5p5f-3ghx |
| RubyGems | rack | 2.0.9.2 | GHSA-93pm-5p5f-3ghx |
| RubyGems | rack | 2.1.4.2 | GHSA-93pm-5p5f-3ghx |
| Ubuntu:22.04:LTS | ruby-rack | 2.1.4-5ubuntu1.1 | UBUNTU-CVE-2022-44571 |
| Ubuntu:22.04:LTS | ruby-rack | 2.1.4-5ubuntu1.1 | USN-7036-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/rack/rack | 2.0.9.2, 2.1.4.2, 2.2.4.1, 3.0.0.1 |
Weakness: CWE-400