CVE-2024-26142
published 2024-02-27CVE-2024-26142: 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…
PriorityP339high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.50%
71.4th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| actionpack_project | actionpack | >= 7.1.0 < 7.1.3.1 | 7.1.3.1 |
| debian | rails | — | — |
| rails | rails | — | — |
| rubyonrails | rails | >= 7.1.0 < 7.1.3.1 | 7.1.3.1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
ghsa7.5HIGH
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
rubygem-actionpack: Possible DoS vulnerability in Accept header
vendor_redhat·2024-02-24·CVSS 7.5
CVE-2024-26142 [HIGH] CWE-400 rubygem-actionpack: Possible DoS vulnerability in Accept header
rubygem-actionpack: Possible DoS vulnerability in Accept header
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.
A flaw was found in actionpack rubygem during the parsing of the Accept header. This issue ma allow a malicious actor to craft a header which will lead the action dispatch component to take an unexpected amount of time, leading to a Denial of Service, impacting the application's availability.
Package: 3scale-amp-system-container (Red Hat 3scale API Management Platform 2) - Will not fix
Package: rubygem-actionpack (Red
Debian
CVE-2024-26142: rails - Rails is a web-application framework. Starting in version 7.1.0, there is a poss...
vendor_debian·2024·CVSS 7.5
CVE-2024-26142 [HIGH] CVE-2024-26142: rails - Rails is a web-application framework. Starting in version 7.1.0, there is a poss...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
GHSA
Rails has possible ReDoS vulnerability in Accept header parsing in Action Dispatch
ghsa·2024-02-27·CVSS 7.5
CVE-2024-26142 [HIGH] CWE-1333 Rails has possible ReDoS vulnerability in Accept header parsing in Action Dispatch
Rails has possible ReDoS vulnerability in Accept header parsing in Action Dispatch
# Possible ReDoS vulnerability in Accept header parsing in Action Dispatch
There is a possible ReDoS vulnerability in the Accept header parsing routines
of Action Dispatch. This vulnerability has been assigned the CVE identifier
CVE-2024-26142.
Versions Affected: >= 7.1.0, < 7.1.3.1
Not affected: < 7.1.0
Fixed Versions: 7.1.3.1
Impact
Carefully crafted Accept headers can cause Accept header parsing in Action
Dispatch to take an unexpected amount of time, possibly resulting in a DoS
vulnerability. All users running an affected release should either upgrade or
use one of the workarounds immediately.
Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby
3.2 or newer are unaffected.
R
OSV
CVE-2024-26142: Rails is a web-application framework
osv·2024-02-27·CVSS 7.5
CVE-2024-26142 [HIGH] CVE-2024-26142: Rails is a web-application framework
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.
OSV
Rails has possible ReDoS vulnerability in Accept header parsing in Action Dispatch
osv·2024-02-27·CVSS 7.5
CVE-2024-26142 [HIGH] Rails has possible ReDoS vulnerability in Accept header parsing in Action Dispatch
Rails has possible ReDoS vulnerability in Accept header parsing in Action Dispatch
# Possible ReDoS vulnerability in Accept header parsing in Action Dispatch
There is a possible ReDoS vulnerability in the Accept header parsing routines
of Action Dispatch. This vulnerability has been assigned the CVE identifier
CVE-2024-26142.
Versions Affected: >= 7.1.0, < 7.1.3.1
Not affected: < 7.1.0
Fixed Versions: 7.1.3.1
Impact
Carefully crafted Accept headers can cause Accept header parsing in Action
Dispatch to take an unexpected amount of time, possibly resulting in a DoS
vulnerability. All users running an affected release should either upgrade or
use one of the workarounds immediately.
Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby
3.2 or newer are unaffected.
R
No detection rules found.
No public exploits indexed.
https://discuss.rubyonrails.org/t/possible-redos-vulnerability-in-accept-header-parsing-in-action-dispatch/84946https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wqhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.ymlhttps://security.netapp.com/advisory/ntap-20240503-0003/https://discuss.rubyonrails.org/t/possible-redos-vulnerability-in-accept-header-parsing-in-action-dispatch/84946https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wqhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.ymlhttps://security.netapp.com/advisory/ntap-20240503-0003/
2024-02-27
Published