Denial of Service Vulnerability in Ruby Rack Package: CVE-2022-44570

ruby-rack Updated 02 Oct 2025

Summary

09/02/2023
N/A
Yes i
High
7.5

UBUNTU-CVE-2022-44570: A denial of service vulnerability in the Range header parsing component of Rack >= 1.5.0. Affects ruby-rack versions < 1.5.2-3+deb8u3ubuntu1~esm6. Fixed in 1.5.2-3+deb8u3ubuntu1~esm6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Ruby Rack is a modular Ruby web server interface that provides a minimal, modular, and adaptable interface for web applications. It is widely used in Ruby web frameworks and applications to handle HTTP requests and responses. The package is designed to facilitate the development of web applications by providing essential middleware components. However, it has been identified to have a vulnerability that could lead to denial of service under specific conditions.

Vulnerability Detail

The vulnerability, identified as CVE-2022-44570, arises from a flaw in the Range header parsing component of Rack versions 1.5.0 and above. An attacker can exploit this vulnerability by sending carefully crafted input that causes the Range header parsing to take an excessive amount of time. This can lead to a denial of service, particularly affecting applications that handle Range requests, such as streaming services or file-serving applications. The CVSS score for this vulnerability is 7.5, indicating a high severity level.

How To Fix

Minimum fixed version

1.5.2-3+deb8u3ubuntu1~esm6

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ruby-rack

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, consider implementing rate limiting on your application to mitigate the impact of potential denial of service attacks. Additionally, review and sanitize incoming requests to ensure they do not contain malicious Range headers.

Conclusion

CVE-2022-44570 represents a significant denial of service vulnerability in the Ruby Rack package, affecting various versions. It is crucial for users and developers to update their installations to the patched versions to ensure the security and reliability of their applications.

See every vulnerability recorded for ruby-rack →

Share this vulnerability

FAQ

CVE-2022-44570 is a denial of service vulnerability in the Ruby Rack package that affects versions 1.5.0 and above, allowing attackers to exploit the Range header parsing.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

Exploitation of this vulnerability can lead to denial of service, causing applications to become unresponsive or slow, particularly those that handle Range requests.

Yes, patched versions of the Ruby Rack package are available for various Ubuntu distributions. It is recommended to update to these versions to mitigate the vulnerability.

The CVSS score for CVE-2022-44570 is 7.5, indicating a high severity level.

How To Fix

Minimum fixed version

1.5.2-3+deb8u3ubuntu1~esm6

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ruby-rack

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback