{"id":"CVE-2024-26142","published":"2024-02-27T15:25:44Z","modified":"2025-02-13T17:41:05Z","title":"Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch","vendor":"rails","product":"rails","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01498,"percentile":0.74867,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272","tags":["x_refsource_MISC"]},{"url":"https://discuss.rubyonrails.org/t/possible-redos-vulnerability-in-accept-header-parsing-in-action-dispatch/84946","tags":["x_refsource_MISC"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.yml","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20240503-0003/","tags":[]}],"priority":{"score":20.2,"factors":[{"name":"EPSS percentile","points":14.97},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"rails","affectedVersions":[{"vendor":"rails","product":"rails","versions":[">= 7.1.0, < 7.1.3.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-28T20:01:00.813235Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"actionpack","vulnerableRanges":[">=7.1.0, <7.1.3.1"],"patched":["7.1.3.1"],"from":["GHSA-jjhx-jhvp-74wq"],"provenance":"source"}],"summary":{"text":"The flaw is a possible ReDoS (regular expression denial of service) vulnerability in the Accept header parsing routines of Action Dispatch, a component of the Rails web-application framework, affecting Rails starting from version 7.1.0. An attacker with network access can send crafted Accept headers to a Rails application to cause excessive resource consumption and availability impact, without authentication or user interaction; Rails applications running on Ruby 3.2 or newer are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:06Z"},"euvd":{"id":"EUVD-2024-0663","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-22795","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"cve":"CVE-2023-22797","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"cve":"CVE-2023-28362","published":"2025-01-09","fixed":"7.0.5.1","kev":false},{"cve":"CVE-2024-26142","published":"2024-02-27","fixed":"7.1.3.1","kev":false},{"cve":"CVE-2024-26143","published":"2024-02-27","fixed":"7.1.3.1","kev":false},{"cve":"CVE-2024-28103","published":"2024-06-04","fixed":"7.2.0.beta2","kev":false,"link":{"from":"CVE-2024-26142","to":"CVE-2024-28103","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"7.1.3.1","toFixed":"7.1.3.4","daysApart":98}]}},{"cve":"CVE-2024-41128","published":"2024-10-16","fixed":"7.2.1.1","kev":false}],"package":"RubyGems:actionpack"}}