CVE-2024-39316Regex Denial of Service in Rack

Severity
6.5MEDIUMNVD
OSV7.5
EPSS
0.8%
top 25.38%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJul 2
Latest updateJul 3

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 wa

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages3 packages

NVDrack/rack3.1.03.1.5
RubyGemsrack/rack3.1.03.1.5

Patches

🔴Vulnerability Details

3
OSV
Rack ReDoS Vulnerability in HTTP Accept Headers Parsing2024-07-03
GHSA
Rack ReDoS Vulnerability in HTTP Accept Headers Parsing2024-07-03
OSV
CVE-2024-39316: Rack is a modular Ruby web server interface2024-07-02

📋Vendor Advisories

1
Debian
CVE-2024-39316: ruby-rack - Rack is a modular Ruby web server interface. Starting in version 3.1.0 and prior...2024