CVE-2024-26146Rack
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.9% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Feb 29, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: none · 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 headers can cause header parsing in Rack to take longer than expected resulting in a possible denial of service issue. Accept and Forwarded headers are impacted. Ruby 3.2 has mitigations for this problem, so Rack applications using Ruby 3.2 or newer are unaffected. This vulnerability is fixed in 2.0.9.4, 2.1.4.4, 2.2.8.1, and 3.0.9.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 |
≥ 2.2.0 < 2.2.8.1 |
2.2.8.1 |
gem "rack", ">= 2.2.8.1" |
| RubyGems | rack |
≥ 2.1.0 < 2.1.4.4 |
2.1.4.4 |
gem "rack", ">= 2.1.4.4" |
| RubyGems | rack |
< 2.0.9.4 |
2.0.9.4 |
gem "rack", ">= 2.0.9.4" |
Per OSV / GitHub Advisories (GHSA-54rr-7fvw-6x8f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rack | rack | ≥ 0.4 < 2.0.9.4 |
| rack | rack | ≥ 2.1.0 < 2.1.4.4 |
| rack | rack | ≥ 2.2.0 < 2.2.8.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 Vendor Advisory
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Vendor Advisory
- github.com Third Party Advisory
- lists.debian.org Mailing List
- security.netapp.com Third Party Advisory