Vulnerabilities · 2024 · Rack
CVE-2024-26141
Rack vulnerability
Rack is a modular Ruby web server interface. Carefully crafted Range headers can cause a server to respond with an unexpectedly large response. Responding with such large responses could lead to a denial of service issue. Vulnerable applications will use the `Rack::File` middleware or the `Rack::Utils.byte_ranges` methods (this includes Rails applications). The vulnerability is fixed in 3.0.9.1 and 2.2.8.1.
Affected products
Rack, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rack runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- discuss.rubyonrails.org/t/possible-dos-vulnerability-with-range-header-in-rack/84944 · Exploit
- github.com/rack/rack/security/advisories/GHSA-xj5v-6v4g-jfw6 · Exploit
- github.com/rack/rack/commit/4849132bef471adb21131980df745f4bb84de2d9 · Patch
- github.com/rack/rack/commit/62457686b26d33a15a254c7768c2076e8e02b48b · Patch
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26141.yml · Exploit
- security.netapp.com/advisory/ntap-20240510-0007/ · Third Party Advisory
- lists.debian.org/debian-lts-announce/2024/04/msg00022.html
- nvd.nist.gov/vuln/detail/CVE-2024-26141
- nvd.nist.gov/vuln/detail/CVE-2024-26141
- cve.org/CVERecord?id=CVE-2024-26141
More vulnerabilities in Rack products
CVE-2025-61919CVE-2025-61780CVE-2025-61772CVE-2025-61771CVE-2025-61770CVE-2025-59830CVE-2025-49007CVE-2025-46727All 22
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.