CVE-2024-26142
published high CVSS 3.1 · 7.5Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch
Package status and fixes
Description
Rails is a web-application framework. Starting in version 7.1.0, there is a possible ReDoS vulnerability in the Accept header parsing routines of Action Dispatch. This vulnerability is patched in 7.1.3.1. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rails | rails | >= 7.1.0, < 7.1.3.1 (affected) | GitHub_M · cna |
| rails | rails | 7.1.0 through 7.1.3.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
5- https://discuss.rubyonrails.org/t/possible-redos-vulnerability-in-accept-header-parsing-in-action-dispatch/84946
- https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272
- https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.yml
- https://security.netapp.com/advisory/ntap-20240503-0003/
Provider assertions
3GitHub_M · cna
Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e6f384ab792b21c74562a6d925a6ffff977bed3981691d18027e2dcbd3103d9a
- Ingested
- 23 Sep 2026, 08:20:20 UTC
- Source record
- Official CVE record