CVE-2024-25126Rack
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
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Feb 29, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · 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. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1.
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 |
≥ 3.0.0 < 3.0.9.1 |
3.0.9.1 |
gem "rack", ">= 3.0.9.1" |
| RubyGems | rack |
≥ 0.4 < 2.2.8.1 |
2.2.8.1 |
gem "rack", ">= 2.2.8.1" |
Per OSV / GitHub Advisories (GHSA-22f2-v57c-j9cx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rack | rack | ≥ 0.4 < 2.2.8.1 |
| rack | rack | ≥ 3.0.0 < 3.0.9.1 |
| debian | debian_linux | 10.0 |
Official advisories
- ruby4.0-rubygem-rack-3.1.18-1.3 on GA media · SUSE · openSUSE-SU-2026:10358-1 · Mar 13, 2026 Critical
- ruby4.0-rubygem-rack-2.2-2.2.22-1.1 on GA media · SUSE · openSUSE-SU-2026:10286-1 · Mar 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- discuss.rubyonrails.org Exploit Vendor Advisory
- github.com Patch
- github.com Patch
- github.com Exploit Vendor Advisory
- github.com Exploit Third Party Advisory
- lists.debian.org Mailing List
- security.netapp.com Third Party Advisory