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.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.5%top 25.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12ruby-rack2.2.4-3DEBIAN-CVE-2022-44571
Debian:13ruby-rack2.2.4-3DEBIAN-CVE-2022-44571
Debian:14ruby-rack2.2.4-3DEBIAN-CVE-2022-44571
RubyGemsrack3.0.4.1GHSA-93pm-5p5f-3ghx
RubyGemsrack2.2.6.1GHSA-93pm-5p5f-3ghx
RubyGemsrack2.0.9.2GHSA-93pm-5p5f-3ghx
RubyGemsrack2.1.4.2GHSA-93pm-5p5f-3ghx
Ubuntu:22.04:LTSruby-rack2.1.4-5ubuntu1.1UBUNTU-CVE-2022-44571
Ubuntu:22.04:LTSruby-rack2.1.4-5ubuntu1.1USN-7036-1

Affected products (as reported)

VendorProductVersions
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

References