Vulnerability in Rails

CVE-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 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.

Vulnerability class: ReDoS (Regular Expression Denial of Service)

EPSS: 0.015 (72.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-26142?
CVE-2024-26142 is a high-severity vulnerability in Rails, classified under Inefficient Regular Expression Complexity. CVSS score: 7.5/10. Published 2024-02-27.
How severe is CVE-2024-26142?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2024-26142 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.