CVE-2025-61772 Details
Description
Rack is a modular Ruby web server interface. In versions prior to 2.2.19, 3.1.17, and 3.2.2, `Rack::Multipart::Parser` can accumulate unbounded data when a multipart part’s header block never terminates with the required blank line (`CRLFCRLF`). The parser keeps appending incoming bytes to memory without a size cap, allowing a remote attacker to exhaust memory and cause a denial of service (DoS). Attackers can send incomplete multipart headers to trigger high memory use, leading to process termination (OOM) or severe slowdown. The effect scales with request size limits and concurrency. All applications handling multipart uploads may be affected. Versions 2.2.19, 3.1.17, and 3.2.2 cap per-part header size (e.g., 64 KiB). As a workaround, restrict maximum request sizes at the proxy or web server layer (e.g., Nginx `client_max_body_size`).
A denial-of-service vulnerability has been identified in the Rack library, specifically within the `Rack::Multipart::Parser` component. This issue is present in versions prior to 2.2.19, 3.1.17, and 3.2.2. The vulnerability arises because the parser can accumulate an unlimited amount of data when a multipart part's header block fails to end with the necessary blank line. As a result, the parser continuously adds incoming bytes to memory without any size limitation. This flaw enables remote attackers to exhaust memory resources, causing process termination or significant slowdowns. The impact of this vulnerability scales with request size limits and concurrency, affecting all applications that manage multipart uploads.
Upgrade to Rack versions 2.2.19, 3.1.17, or 3.2.2, which include patches for this vulnerability. If an immediate upgrade is not possible, consider restricting maximum request sizes at the proxy or web server level, such as using the `client_max_body_size` directive in Nginx.
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 7, 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.19 >= 3.1.0, < 3.1.17 >= 3.2.0, < 3.2.2 |
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 |
| Oct 10, 2025 | Initial Analysis | [email protected] |
| Oct 7, 2025 | New CVE Received | [email protected] |