CVE-2025-61772
October 07, 2025
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").
Affected Packages
https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=v3.2.0 <v3.2.2Fix Suggestion:
Update to version v3.2.2https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=v3.0.1 <v3.1.17Fix Suggestion:
Update to version v3.1.17https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=v2.0.9.2 <2.2.19Fix Suggestion:
Update to version 2.2.19rack (RUBY):
Affected version(s) >=3.1.0 <3.1.17Fix Suggestion:
Update to version 3.1.17rack (RUBY):
Affected version(s) >=3.2.0 <3.2.2Fix Suggestion:
Update to version 3.2.2rack (RUBY):
Affected version(s) >=0.1.0 <2.2.19Fix Suggestion:
Update to version 2.2.19Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Resource Consumption
EPSS
Base Score:
0.26