Rack · Rack · CVE-2024-26146
**Name of the Vulnerable Software and Affected Versions**
Rack versions prior to 2.0.9.4
Rack versions prior to 2.1.4.4
Rack versions prior to 2.2.8.1
Rack versions prior to 3.0.9.1
**Description**
The issue is related to the header parsing in Rack, which can be exploited by carefully crafted headers, potentially leading to a denial of service. 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.
**Recommendations**
To resolve the issue for Rack versions prior to 2.0.9.4, update to version 2.0.9.4 or newer.
To resolve the issue for Rack versions prior to 2.1.4.4, update to version 2.1.4.4 or newer.
To resolve the issue for Rack versions prior to 2.2.8.1, update to version 2.2.8.1 or newer.
To resolve the issue for Rack versions prior to 3.0.9.1, update to version 3.0.9.1 or newer.
As a temporary workaround, consider restricting access to the Accept and Forwarded headers until a patch is available.
Patches are available for the 2.0, 2.1, 2.2, and 3.0 series in git-am format.