🛡️ CVE-2022-44571 — rack

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-1333 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Denial of Service Vulnerability in Rack Content-Disposition parsing

There is a denial of service vulnerability in the Content-Disposition parsing component of Rack. This vulnerability has been assigned the CVE identifier CVE-2022-44571.

Versions Affected: >= 2.0.0 Not affected: None. Fixed Versions: 2.0.9.2, 2.1.4.2, 2.2.6.1, 3.0.0.1

Impact

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.

Releases

The fixed releases are available at the normal locations.

Workarounds

There are no feasible workarounds for this issue.

Patches

To aid users who aren’t able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset.

2-0-Fix-ReDoS-vulnerability-in-multipart-parser - Patch for 2.0 series

2-1-Fix-ReDoS-vulnerability-in-multipart-parser - Patch for 2.1 series

2-2-Fix-ReDoS-vulnerability-in-multipart-parser - Patch for 2.2 series

3-0-Fix-ReDoS-vulnerability-in-multipart-parser - Patch for 3.0 series

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

Weakness class

CVE-2022-44571 is classified as CWE-1333: Inefficient Regular Expression Complexity. A regular expression backtracks catastrophically on crafted input, consuming CPU out of proportion to input size.

Affected software

CVE-2022-44571 is recorded against 1 package.

  • rack (from 3.0.0.0 up to 3.0.4.1)

Timeline and source

Published on 18 January 2023 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
discuss.rubyonrails.org (Web)
github.com (Package)
github.com (Web)
github.com (Web)
www.debian.org (Web)

CVE-2022-44571 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity LOW
CVSS Score 2.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE CWE-1333
Public Exploit ✅ No
Source OSV
Published 2023-01-18
Updated 2026-08-12
Modified 2026-06-17

Affected Packages

Software From version Fixed in
rack 3.0.0.0 3.0.4.1

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2022-44571?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2022-44571 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2022