CVE-2024-47887: Action Controller has possible ReDoS vulnerability in HTTP Token authentication
Vulnerability summary
CVE-2024-47887 is a medium (CVSS 6.6) vulnerability in rails. EPSS estimates a 1.04% chance of exploitation in the next 30 days, higher than 64% of scored vulnerabilities.
Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 6Timeline
- 16-10-2024PublishedVulnerability first disclosed.
- 17-10-2024Last modifiedVulnerability information updated.
Description
Action Pack is a framework for handling and responding to web requests. Starting in version 4.0.0 and prior to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, and 7.2.1.1, there is a possible ReDoS vulnerability in Action Controller's HTTP Token authentication. For applications using HTTP Token authentication via `authenticate_or_request_with_http_token` or similar, a carefully crafted header may cause header parsing to take an unexpected amount of time, possibly resulting in a DoS vulnerability. All users running an affected release should either upgrade to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, or 7.2.1.1 or apply the relevant patch immediately. One may choose to use Ruby 3.2 as a workaround.Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected. Rails 8.0.0.beta1 depends on Ruby 3.2 or greater so is unaffected.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:UDiffers
- OSV · DebianEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XDiffers
- OSV · RubygemsEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:UDiffers
- NVDNIST6.6MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
1.04%
Chance of exploitation in the next 30 days
Percentile
64%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.04% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- rails< 2:6.1.7.10+dfsg-1~deb12u1 | < 2:7.2.2.1+dfsg-1
Rails1 product
- rails≥ 4.0.0, < 6.1.7.9 | ≥ 7.0.0, < 7.0.8.5 | ≥ 7.1.0, < 7.1.4.1 | ≥ 7.2.0, < 7.2.1.1
RubyGems1 product
- actionpack≥ 4.0.0, < 6.1.7.9 | ≥ 7.0.0, < 7.0.8.5 | ≥ 7.1.0, < 7.1.4.1 | ≥ 7.2.0, < 7.2.1.1
Ubuntu1 product
- rails< 2:4.2.6-1ubuntu0.1~esm1 | < 2:4.2.10-0ubuntu4+esm1 | < 2:5.2.3+dfsg-3ubuntu0.1~esm1 | < 2:6.1.4.1+dfsg-8ubuntu2+esm1 | All versions (No fix recorded)
4 vendors · 4 products
References
11 links- github.com/rails/railsPACKAGE