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

Published Jan 18, 2023
·
Updated

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.

Other sources

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.

— MITRE

Affected Software

20 affected componentsFixes available
rubygems/rack>=3.0.0.0<3.0.4.1
3.0.4.1
rubygems/rack>=2.2.0<2.2.6.1
2.2.6.1
rubygems/rack>=2.1.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.0<2.0.9.2
Rack Project Rack Ruby>=2.1.0<2.1.4.2
Rack Project Rack Ruby>=2.2.0<2.2.6.1
Rack Project Rack Ruby>=3.0.0.0<3.0.4.1
Rack Rack Ruby>=2.0.0<2.0.9.2
Rack Rack Ruby>=2.1.0<2.1.4.2
Rack Rack Ruby>=2.2.0<2.2.6.1
Rack Rack Ruby>=3.0.0.0<3.0.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

Event History

Jan 18, 2023
Advisory Published
06:24 PM
Data Sourced
06:24 PM
DescriptionWeaknessAffected Software
Jan 26, 2023
Data Sourced
09:37 AM
Severity
Feb 9, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via OSV·08:15 PM
DescriptionAffected Software
Feb 17, 2023
Data Sourced
06:51 PM
Remedy
Oct 23, 2023
Advisory Published
07:18 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
RemedyAffected Software
Feb 13, 2025
Data Sourced
via NVD·03:37 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·03:37 PM
RemedyAffected 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-44571.

2

What is the severity of CVE-2022-44571?

The severity of CVE-2022-44571 is high with a severity value of 7.5.

3

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

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

4

How do I fix CVE-2022-44571?

To fix CVE-2022-44571, update Rack to 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-44571?

You can find more information about CVE-2022-44571 at the following references: [Link 1](https://discuss.rubyonrails.org/t/cve-2022-44571-possible-denial-of-service-vulnerability-in-rack-content-disposition-parsing/82126), [Link 2](https://www.debian.org/security/2023/dsa-5530), [Link 3](https://github.com/rack/rack/commit/4e33ad10bf5f16d25c156f905bcc548e7f787bc3).

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