{"schemaVersion":3,"id":"CVE-2024-26142","aliases":["UBUNTU-CVE-2024-26142","GHSA-jjhx-jhvp-74wq","BIT-rails-2024-26142"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-02-27T15:25:44.103Z","modified":"2025-02-13T17:41:05.743Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01498,"percentile":0.73878,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01498},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01498,"percentile":0.73878}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01498,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01498,"percentile":0.73878}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"ubuntu","product":"rails","name":"rails","label":"rails","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rails","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"actionpack","name":"actionpack","label":"actionpack","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/actionpack","purlType":"gem","versions":[{"text":"≥ 7.1.0, < 7.1.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.1.0, < 7.1.3.1","eol":null,"hubHref":null},{"vendor":"rails","product":"rails","name":"rails","label":"rails","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.1.0, < 7.1.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.1.0, < 7.1.3.1","eol":null,"hubHref":"/vendor/rails/rails"},{"vendor":"rubyonrails","product":"rails","name":"rails","label":"rails","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.1.0, < 7.1.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.1.0, < 7.1.3.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"rails","label":"Ruby on Rails","category":"framework"}},"hubHref":"/vendor/rubyonrails/rails"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq","label":"github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Vendor Advisory"]},{"url":"https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272","label":"github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch"]},{"url":"https://discuss.rubyonrails.org/t/possible-redos-vulnerability-in-accept-header-parsing-in-action-dispatch/84946","label":"discuss.rubyonrails.org/t/…","hostname":"discuss.rubyonrails.org","tags":["X Refsource MISC","REPORT","WEB","Vendor Advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.yml","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240503-0003/","label":"security.netapp.com/advisory/ntap-20240503-0003/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-26142","label":"ubuntu.com/security/CVE-2024-26142","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-26142","label":"www.cve.org/CVERecord?id=CVE-2024-26142","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26142","label":"nvd.nist.gov/vuln/detail/CVE-2024-26142","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rails/rails","label":"github.com/rails/rails","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-02-27T15:25:44.103Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T17:41:05.743Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:47:10.643Z","stale":false,"partial":false}}