Denial of Service Vulnerabilities in ruby-rack Package

ruby-rack Updated 03 Oct 2025

Summary

17/06/2024
N/A
Yes i
Unrated
Not published

USN-6837-1: ruby-rack vulnerabilities. Affects ruby-rack versions < 2.2.7-1ubuntu0.1. Fixed in 2.2.7-1ubuntu0.1. 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

The ruby-rack package is a modular Ruby web server interface that facilitates the development of web applications. It provides a simple and consistent API for handling HTTP requests and responses, making it a popular choice among Ruby developers. However, recent vulnerabilities have been identified that could allow remote attackers to exploit the package, leading to potential denial of service (DoS) conditions.

Vulnerability Detail

Multiple vulnerabilities have been discovered in the ruby-rack package. These include improper handling of Multipart MIME parsing (CVE-2023-27530), incorrect parsing of certain media types (CVE-2024-25126), mishandling of Range headers (CVE-2024-26141), and improper handling of crafted headers (CVE-2024-26146). Each of these vulnerabilities could allow a remote attacker to consume excessive resources, leading to service disruption. Notably, some issues specifically affect Ubuntu 23.10 and 24.04 LTS.

How To Fix

Minimum fixed version

2.2.7-1ubuntu0.1

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 the impact of potential denial of service attacks. Additionally, monitor your application for unusual traffic patterns that may indicate an ongoing attack.

Conclusion

The ruby-rack package has several vulnerabilities that could lead to denial of service attacks. It is crucial to update to the patched version to protect your application. Additionally, consider using tools like Vulert to monitor for vulnerabilities in real-time.

See every vulnerability recorded for ruby-rack →

Share this vulnerability

FAQ

The vulnerabilities can lead to denial of service conditions, where the application may become unresponsive due to excessive resource consumption.

The vulnerabilities specifically affect ruby-rack versions prior to 2.2.7-1ubuntu0.1.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software without requiring access to the code. Visit Vulert Scanner to check your application.

Implementing rate limiting on your web server can help mitigate the impact of potential denial of service attacks.

If immediate updating is not possible, ensure to monitor your application closely for unusual traffic patterns and consider implementing temporary security measures.

How To Fix

Minimum fixed version

2.2.7-1ubuntu0.1

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