6.5

CVE-2024-39316: Rack ReDoS Vulnerability in HTTP Accept Headers Parsing

Analyzed
AliasesGHSA-cj83-2ww7-mvq7
Published 02-07-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-39316 is a medium (CVSS 6.5) vulnerability in rack. EPSS estimates a 0.86% chance of exploitation in the next 30 days, higher than 59.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.86%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 02-07-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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 metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.86%

Chance of exploitation in the next 30 days

Percentile

60%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.86% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Rack1 product
  • rack≥ 3.1.0, < 3.1.5
RubyGems1 product
  • rack≥ 3.1.0, < 3.1.5

2 vendors · 2 products

References

7 links