CVE-2022-44572: High severity Rack Project Rack Ruby vulnerability

Published Jan 18, 2023
·
Updated

A denial of service vulnerability in the multipart parsing component of Rack fixed in 2.0.9.2, 2.1.4.2, 2.2.4.1 and 3.0.0.1 could allow an attacker tocraft input that can cause RFC2183 multipart boundary parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted.

Other sources

Carefully crafted input can cause RFC2183 multipart boundary parsing in Rackto take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted.

— Red Hat

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

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 RFC2183 multipart boundary parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. 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-Forbid-control-characters-in-attributes.patch - Patch for 2.0 series 2-1-Forbid-control-characters-in-attributes.patch - Patch for 2.1 series 2-2-Forbid-control-characters-in-attributes.patch - Patch for 2.2 series 3-0-Forbid-control-characters-in-attributes.patch - Patch for 3.0 series

Affected Software

18 affected componentsFixes available
rubygems/rack>=3.0.0.0<3.0.4.1
3.0.4.1
rubygems/rack>=2.2.0.0<2.2.6.1
2.2.6.1
rubygems/rack>=2.1.0.0<2.1.4.2
2.1.4.2
rubygems/rack>=2.0.0<2.0.9.2
2.0.9.2
Rack Project Rack Ruby<2.0.9.2
Rack Project Rack Ruby>=2.1.0<2.1.4.2
Rack Project Rack Ruby>=2.2.0<2.2.4.1
Rack Rack Ruby<2.0.9.2
Rack Rack Ruby>=2.1.0<2.1.4.2
Rack Rack Ruby>=2.2.0<2.2.4.1
redhat/rubygem-rack<2.0.9.2
2.0.9.2
redhat/rubygem-rack<2.1.4.2
2.1.4.2
redhat/rubygem-rack<2.2.6.1
2.2.6.1
redhat/rubygem-rack<3.0.4.1
3.0.4.1
debian/ruby-rack<2.2.4-3
2.2.4-3
debian/ruby-rack<2.2.4-3
2.2.4-3
debian/ruby-rack<2.2.4-3
2.2.4-3
debian/ruby-rack
2.0.6-3+deb10u22.1.4-3+deb11u12.2.4-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/rack to a version that resolves this vulnerability.

    Fixed in 3.0.4.1
  2. Upgrade

    Upgrade rubygems/rack to a version that resolves this vulnerability.

    Fixed in 2.2.6.1
  3. Upgrade

    Upgrade rubygems/rack to a version that resolves this vulnerability.

    Fixed in 2.1.4.2
  4. Upgrade

    Upgrade rubygems/rack to a version that resolves this vulnerability.

    Fixed in 2.0.9.2
  5. Upgrade

    Upgrade redhat/rubygem-rack to a version that resolves this vulnerability.

    Fixed in 2.0.9.2
  6. Upgrade

    Upgrade redhat/rubygem-rack to a version that resolves this vulnerability.

    Fixed in 2.1.4.2
  7. Upgrade

    Upgrade redhat/rubygem-rack to a version that resolves this vulnerability.

    Fixed in 2.2.6.1
  8. Upgrade

    Upgrade redhat/rubygem-rack to a version that resolves this vulnerability.

    Fixed in 3.0.4.1
  9. Upgrade

    Upgrade debian/ruby-rack to a version that resolves this vulnerability.

    Fixed in 2.2.4-3
  10. Upgrade

    Upgrade debian/ruby-rack to a version that resolves this vulnerability.

    Fixed in 2.0.6-3+deb10u2Fixed in 2.1.4-3+deb11u1Fixed in 2.2.4-3
  11. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 2.0.9.2
  12. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 2.1.4.2
  13. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 2.2.6.1
  14. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 3.0.0.1
  15. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Patch 2-0-Forbid-control-characters-in-attributes.patch
  16. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Patch 2-1-Forbid-control-characters-in-attributes.patch
  17. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Patch 2-2-Forbid-control-characters-in-attributes.patch
  18. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Patch 3-0-Forbid-control-characters-in-attributes.patch

Event History

Jan 18, 2023
Advisory Published
06:19 PM
Data Sourced
06:19 PM
DescriptionWeaknessAffected Software
Jan 26, 2023
Data Sourced
09:52 AM
Severity
Feb 9, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via OSV·08:15 PM
DescriptionAffected Software
Oct 23, 2023
Advisory Published
07:17 PM
Nov 8, 2023
Data Sourced
via Red Hat·02:17 PM
DescriptionSeverityAffected Software
Dec 8, 2023
Updated
10:15 PM
Affected Software
Aug 3, 2024
Data Sourced
via MITRE·01:54 PM
DescriptionWeakness
Nov 21, 2024
Updated
via NVD·07:28 AM
Affected Software
Feb 13, 2025
Data Sourced
via NVD·03:37 PM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·03:37 PM
Affected Software
Jun 17, 2026
Updated
via NVD·05:08 AM
Affected Software
Nov 3, 2026
Data Sourced
via OSV·08:03 AM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2022-44572.

2

What is the severity of CVE-2022-44572?

The severity of CVE-2022-44572 is high (7.5).

3

Which versions of Rack are affected by CVE-2022-44572?

Versions >= 2.0.0 of Rack are affected by CVE-2022-44572.

4

How can I fix CVE-2022-44572?

To fix CVE-2022-44572, update to one of the fixed versions: 2.0.9.2, 2.1.4.2, 2.2.6.1, or 3.0.0.1.

5

Where can I find more information about CVE-2022-44572?

You can find more information about CVE-2022-44572 on the following websites: [HackerOne](https://hackerone.com/reports/1639882), [Debian Security Advisory](https://www.debian.org/security/2023/dsa-5530), [GitHub Commit](https://github.com/rack/rack/commit/dc50f8e495f67eb933b1fc33ebee550908d945e6).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203