CVE-2024-39316: medium-severity vulnerability in rack
Rack ReDoS Vulnerability in HTTP Accept Headers Parsing
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
A flaw in Rack's HTTP header parsing allows attackers to send specially crafted Accept headers that force the server to use excessive computing power, temporarily making it unresponsive. This is a type of attack called ReDoS (Regular Expression Denial of Service).
CVE-2024-39316 is a ReDoS vulnerability in Rack 3.1.0-3.1.4 within the Rack::Request::Helpers module's Accept header parsing logic. An attacker can exploit this by sending malicious Accept-Encoding or Accept-Language headers that cause pathological regex backtracking, resulting in CPU exhaustion and service degradation. Upgrade to Rack 3.1.5 or later to resolve the issue.
In the same product, most dangerous first.