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

Published Jan 18, 2023
·
Updated

A denial of service vulnerability in the Range header parsing component of Rack >= 1.5.0. A Carefully crafted input can cause the Range header parsing component in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that deal with Range requests (such as streaming applications, or applications that serve files) may be impacted.

Other sources

There is a possible denial of service vulnerability in the Range header parsing component of Rack. This vulnerability has been assigned the CVE identifier CVE-2022-44570.

Versions Affected: >= 1.5.0 Not affected: None. Fixed Versions: 2.0.9.2, 2.1.4.2, 2.2.6.2, 3.0.0.1 Impact

Carefully crafted input can cause the Range header parsing component in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that deal with Range requests (such as streaming applications, or applications that serve files) may be 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-in-Rack-Utils.getbyteranges.patch - Patch for 2.0 series 2-1-Fix-ReDoS-in-Rack-Utils.getbyteranges.patch - Patch for 2.1 series 2-2-Fix-ReDoS-in-Rack-Utils.getbyteranges.patch - Patch for 2.2 series 3-0-Fix-ReDoS-in-Rack-Utils.getbyteranges.patch - Patch for 3.0 series

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.0<2.2.6.2
2.2.6.2
rubygems/rack>=2.1.0.0<2.1.4.2
2.1.4.2
rubygems/rack>=1.5.0<2.0.9.2
2.0.9.2
Rack Project Rack Ruby>=1.5.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<3.0.4.1
Rack Rack Ruby>=1.5.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<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.2
  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.2Patch 2-0-Fix-ReDoS-in-Rack-Utils.get_byte_ranges.patch
  12. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 2.1.4.2Patch 2-1-Fix-ReDoS-in-Rack-Utils.get_byte_ranges.patch
  13. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 2.2.6.2Patch 2-2-Fix-ReDoS-in-Rack-Utils.get_byte_ranges.patch
  14. Upgrade

    Upgrade Rack to a version that resolves this vulnerability.

    Fixed in 3.0.0.1Patch 3-0-Fix-ReDoS-in-Rack-Utils.get_byte_ranges.patch

Event History

Jan 18, 2023
Advisory Published
06:19 PM
Data Sourced
06:19 PM
DescriptionSeverityWeaknessAffected Software
Feb 9, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via OSV·08:15 PM
DescriptionAffected Software
Jun 23, 2023
Data Sourced
06:30 PM
Remedy
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
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:01 AM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-44570?

CVE-2022-44570 is a denial of service vulnerability in the Range header parsing component of Rack.

2

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

Versions of Rack >= 1.5.0 are affected by CVE-2022-44570.

3

How severe is CVE-2022-44570?

CVE-2022-44570 has a severity rating of 7.5 (high).

4

How can I fix CVE-2022-44570?

To fix CVE-2022-44570, update to the fixed versions: 2.0.9.2, 2.1.4.2, 2.2.6.2, 3.0.0.1

5

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

You can find more information about CVE-2022-44570 at the following references: [Link 1](https://discuss.rubyonrails.org/t/cve-2022-44570-possible-denial-of-service-vulnerability-in-racks-range-header-parsing/82125), [Link 2](https://www.debian.org/security/2023/dsa-5530), [Link 3](https://github.com/rack/rack/commit/52721ae0b730e3920ad5375dfd5a3ea9b4f9e359)

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