CVE-2025-61919Rack
High 7.5 No auth needed
Follow: this CVE · Rack · Rack We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 10, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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`).
What to do
- Apply the vendor's security update for Rack.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rack |
< 2.2.20 |
2.2.20 |
gem "rack", ">= 2.2.20" |
| RubyGems | rack |
≥ 3.0 < 3.1.18 |
3.1.18 |
gem "rack", ">= 3.1.18" |
| RubyGems | rack |
≥ 3.2 < 3.2.3 |
3.2.3 |
gem "rack", ">= 3.2.3" |
Per OSV / GitHub Advisories (GHSA-6xw4-3v39-52mm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rack | rack | < 2.2.20 |
| rack | rack | ≥ 3.0.0 < 3.1.18 |
| rack | rack | ≥ 3.2.0 < 3.2.3 |
Official advisories
- ruby4.0-rubygem-rack-2.2-2.2.22-1.1 on GA media · SUSE · openSUSE-SU-2026:10286-1 · Mar 4, 2026 Critical
- Security update for hawk2 · SUSE · SUSE-SU-2026:20091-1 · Jan 13, 2026 High
- Security update for hawk2 · SUSE · SUSE-SU-2026:20093-1 · Jan 13, 2026 High
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Mitigation Third Party Advisory