{"cve":"CVE-2024-39316","nvd":{"published":"2024-07-02T16:15:04.753","modified":"2026-06-17T07:41:42.080","status":"Analyzed","description":"Rack is a modular Ruby web server interface. Starting in version 3.1.0 and prior to version 3.1.5, Regular Expression Denial of Service (ReDoS) vulnerability exists in the `Rack::Request::Helpers` module when parsing HTTP Accept headers. This vulnerability can be exploited by an attacker sending specially crafted `Accept-Encoding` or `Accept-Language` headers, causing the server to spend excessive time processing the request and leading to a Denial of Service (DoS). The fix for CVE-2024-26146 was not applied to the main branch and thus while the issue was fixed for the Rack v3.0 release series, it was not fixed in the v3.1 release series until v3.1.5. Users of versions on the 3.1 branch should upgrade to version 3.1.5 to receive the fix.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-1333"],"references":["https://github.com/rack/rack/commit/412c980450ca729ee37f90a2661f166a9665e058","https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f","https://github.com/rack/rack/security/advisories/GHSA-cj83-2ww7-mvq7","https://github.com/rack/rack/commit/412c980450ca729ee37f90a2661f166a9665e058","https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f"],"products":["rack:rack"],"source":"nvd","synced_at":"2026-10-19T21:52:00.836172422+00:00"},"epss":{"cve":"CVE-2024-39316","score":0.00856,"percentile":0.58407,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-cj83-2ww7-mvq7","url":"https://osv.dev/vulnerability/GHSA-cj83-2ww7-mvq7","summary":"Rack ReDoS Vulnerability in HTTP Accept Headers Parsing","modified":"2026-02-04T02:42:02.764140Z","packages":[{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":[">=3.1.0 <3.1.5"],"fixed":["3.1.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}