High severity · published Feb 28, 2024
CVE-2024-26146
Possible Denial of Service Vulnerability in Rack Header Parsing
7.5
CVSS
2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RA
rack · rack
>= 3.0.0, < 3.0.9.1; >= 2.2.0, < 2.2.8.1; >= 2.1.0, < 2.1.4.4; < 2.0.9.4 · source: vendor, NVD, CISA
DL
Debian Linux · Debian
10.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-26146
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-26146
Vendor Advisory
https://discuss.rubyonrails.org/t/possible-denial-of-service-vulnerability-in-rack-header-parsing/84942
Patch
https://github.com/rack/rack/commit/30b8e39a578b25d4bdcc082c1c52c6f164b59716
Patch
https://github.com/rack/rack/commit/6c5d90bdcec0949f7ba06db62fb740dab394b582
Patch
https://github.com/rack/rack/commit/a227cd793778c7c3a827d32808058571569cda6f
Patch
https://github.com/rack/rack/commit/e4c117749ba24a66f8ec5a08eddf68deeb425ccd
Vendor Advisory
https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f
More from rack
7.5
CVE-2026-34827
Rack: Algorithmic-Complexity DoS in Rack::Multipart::Parser
7.5
CVE-2026-34830
Rack: Rack::Sendfile regex injection via HTTP_X_ACCEL_MAPPING header allows arbitrary file reads through nginx
7.5
CVE-2026-34829
Rack: Denial of Service via Unbounded Multipart File Upload Without Content-Length
7.5
CVE-2026-34826
Rack: Unbounded Range Count in get_byte_ranges Enables DoS
7.5
CVE-2026-34785
Rack: Local file inclusion in `Rack::Static` via URL Prefix Matching
