Skip to content
Fencer Vulns
high 7.5

CVE-2024-26142 json

Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch

published 2024-02-26 2 y ago modified 2026-09-10 59 d ago also BIT-rails-2024-26142 , EUVD-2024-0663 , GHSA-jjhx-jhvp-74wq

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 74%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems actionpack 7.1.3.1
  • bitnami rails 7.1.4
  • rubyonrails rails 7.1.3.1
  • rubyonrails ruby_on_rails 7.1.3.1
  • actionpack_project actionpack 7.1.3.1
  • rubyonrails actionpack 7.1.3.1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-26142 updated cvss 5.9

rubygem-actionpack: Possible DoS vulnerability in Accept header

  • Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7
    affected: no fix planned “Will not fix”
  • Red Hat Satellite 6 rubygem-actionpack
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.50% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
rubygems actionpack
>=7.1.0, <7.1.3.1
7.1.3.1
bitnami rails
>=7.1.0, <7.1.4
7.1.4

Affected products

  • rails rails

Classification

Weakness
  • CWE-1333 Inefficient Regular Expression Complexity
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of rails/rails published their own advisory on GitHub. Reviewed sources take precedence over it.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.