CVE-2025-61919 Details
Description
Rack is a modular Ruby web server interface. Prior to versions 2.2.20, 3.1.18, and 3.2.3, `Rack::Request#POST` reads the entire request body into memory for `Content-Type: application/x-www-form-urlencoded`, calling `rack.input.read(nil)` without enforcing a length or cap. Large request bodies can therefore be buffered completely into process memory before parsing, leading to denial of service (DoS) through memory exhaustion. Users should upgrade to Rack version 2.2.20, 3.1.18, or 3.2.3, anu of which enforces form parameter limits using `query_parser.bytesize_limit`, preventing unbounded reads of `application/x-www-form-urlencoded` bodies. Additionally, enforce strict maximum body size at the proxy or web server layer (e.g., Nginx `client_max_body_size`, Apache `LimitRequestBody`).
A denial-of-service vulnerability has been identified in Rack, a Ruby web server interface, prior to versions 2.2.20, 3.1.18, and 3.2.3. The issue arises because `Rack::Request#POST` reads the entire request body into memory for `Content-Type: application/x-www-form-urlencoded` without enforcing a length limit. This unbounded read can lead to memory exhaustion, as large request bodies are fully buffered into process memory before being parsed. The vulnerability can be exploited by sending large URL-encoded bodies, causing significant memory consumption and potentially leading to the process being terminated by the operating system.
Users should upgrade to Rack versions 2.2.20, 3.1.18, or 3.2.3, all of which address the vulnerability by enforcing form parameter limits and preventing unbounded reads of URL-encoded bodies. Additionally, strict maximum body sizes should be enforced at the proxy or web server level, using directives like Nginx's `client_max_body_size` or Apache's `LimitRequestBody`.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rack rack | < 2.2.20 >= 3.0.0, < 3.1.18 >= 3.2.0, < 3.2.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | Initial Analysis | [email protected] |
| Oct 10, 2025 | New CVE Received | [email protected] |