Critical Denial of Service Vulnerabilities in ruby-rack

ruby-rack Updated 03 Oct 2025

Summary

19/08/2024
N/A
Yes i
Unrated
Not published

USN-6837-2: ruby-rack vulnerabilities. Affects ruby-rack versions < 1.5.2-3+deb8u3ubuntu1~esm8. Fixed in 1.5.2-3+deb8u3ubuntu1~esm8. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

ruby-rack is a widely used web application server interface for Ruby applications, providing a modular and adaptable framework for handling HTTP requests. It is integral to many Ruby-based web applications, allowing developers to build and manage web services efficiently. However, recent vulnerabilities have been discovered that could lead to denial of service attacks, affecting the performance and availability of applications relying on this package.

Vulnerability Detail

The vulnerabilities identified in ruby-rack stem from improper handling of media types, Range headers, and crafted headers. Specifically, CVE-2024-25126 allows attackers to exploit media type parsing, potentially leading to resource exhaustion. CVE-2024-26141 involves mishandling of Range headers, which can result in large response generation, while CVE-2024-26146 pertains to crafted headers that can also cause resource consumption. These vulnerabilities primarily affect Ubuntu 20.04 LTS and Ubuntu 22.04 LTS, posing significant risks to applications using these versions.

How To Fix

Minimum fixed version

1.5.2-3+deb8u3ubuntu1~esm8

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 patching is not feasible, consider implementing rate limiting on your web server to mitigate potential denial of service attacks. Additionally, monitor your application for unusual traffic patterns that may indicate an ongoing attack.

Conclusion

The vulnerabilities in ruby-rack pose significant risks to applications running on affected versions of Ubuntu. It is crucial to update to the patched versions to safeguard against potential denial of service attacks. Additionally, utilizing tools like Vulert can help monitor and alert for vulnerabilities in real-time.

See every vulnerability recorded for ruby-rack →

Share this vulnerability

FAQ

ruby-rack is a framework for building web applications in Ruby, providing a standardized interface for handling HTTP requests.

The vulnerabilities can lead to denial of service attacks, causing applications to become unresponsive or consume excessive resources.

The vulnerabilities primarily affect Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.

You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

Implement rate limiting and monitor for unusual traffic patterns as a temporary measure to mitigate potential attacks.

How To Fix

Minimum fixed version

1.5.2-3+deb8u3ubuntu1~esm8

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