Denial of Service Vulnerability in ruby-rack Package

ruby-rack Updated 03 Oct 2025

Summary

29/09/2025
N/A
Yes i
Unrated
Not published

USN-7784-1: ruby-rack vulnerability. Affects ruby-rack versions < 2.2.7-1ubuntu0.4. Fixed in 2.2.7-1ubuntu0.4. 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 Your last release was probably never penetration tested 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 widely used web server interface for Ruby applications, providing a modular and adaptable framework for handling HTTP requests. It is designed to facilitate the development of web applications by allowing developers to create middleware components that can process requests and responses. However, the package has been found to have a vulnerability that could potentially allow attackers to bypass parameter limits, leading to service disruptions.

Vulnerability Detail

It was discovered that Rack incorrectly handled limiting the amount of parameters. An attacker could exploit this flaw to bypass the params_limit value, which could lead to a denial of service. This vulnerability, identified as CVE-2025-59830, poses a significant risk as it can allow malicious users to overwhelm the application with excessive parameters, potentially causing it to crash or become unresponsive.

How To Fix

Minimum fixed version

2.2.7-1ubuntu0.4

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

As a temporary workaround, you can implement additional input validation in your application to limit the number of parameters processed, thereby mitigating the risk of denial of service until the package is updated.

Conclusion

The ruby-rack package has a critical vulnerability that could allow denial of service attacks through parameter limit bypassing. It is crucial to update to the latest patched versions to ensure the security and stability of your applications. Implementing workarounds can provide temporary relief until the update is applied.

See every vulnerability recorded for ruby-rack →

Share this vulnerability

FAQ

ruby-rack is a web server interface for Ruby applications that allows developers to create middleware components for processing HTTP requests.

The vulnerability allows attackers to bypass parameter limits, potentially leading to a denial of service by overwhelming the application with excessive parameters.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Implement additional input validation in your application to limit the number of parameters processed as a temporary workaround.

How To Fix

Minimum fixed version

2.2.7-1ubuntu0.4

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