CVE-2024-26146
HIGH 7.5CVSS 3.1Rack Header Parsing leads to Possible Denial of Service Vulnerability
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.
- Published
- 29 Feb 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1333
- Also known as
- GHSA-54rr-7fvw-6x8f
- Sources
- NVDJSONOSV GHSA-54rr-7fvw-6x8fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rack | rackcpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* |
>= 0.4, < 2.0.9.4 | 2.0.9.4 |
| NVD | rack | rackcpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* |
>= 2.1.0, < 2.1.4.4 | 2.1.4.4 |
| NVD | rack | rackcpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* |
>= 2.2.0, < 2.2.8.1 | 2.2.8.1 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | RubyGems | rack | >= 3.0.0, < 3.0.9.1 | 3.0.9.1 |
| OSV | RubyGems | rack | >= 2.2.0, < 2.2.8.1 | 2.2.8.1 |
| OSV | RubyGems | rack | >= 2.1.0, < 2.1.4.4 | 2.1.4.4 |
| OSV | RubyGems | rack | < 2.0.9.4 | 2.0.9.4 |
References
- https://discuss.rubyonrails.org/t/possible-denial-of-service-vulnerability-in-rack-header-parsing/84942 · Vendor Advisory, WEB
- https://github.com/rack/rack/commit/30b8e39a578b25d4bdcc082c1c52c6f164b59716 · Patch, WEB
- https://github.com/rack/rack/commit/6c5d90bdcec0949f7ba06db62fb740dab394b582 · Patch, WEB
- https://github.com/rack/rack/commit/a227cd793778c7c3a827d32808058571569cda6f · Patch, WEB
- https://github.com/rack/rack/commit/e4c117749ba24a66f8ec5a08eddf68deeb425ccd · Patch, WEB
- https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f · Vendor Advisory, WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26146.yml · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html · Mailing List
- https://security.netapp.com/advisory/ntap-20240510-0006/ · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-26146 · ADVISORY
- https://github.com/rack/rack · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 29 Feb 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Feb 2024)