{"id":"CVE-2024-26142","state":"PUBLISHED","title":"Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch","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.","publishedAt":"2024-02-27T15:25:44.103Z","updatedAt":"2025-02-13T17:41:05.743Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["rails rails"],"affected":[{"vendor":"rails","product":"rails","versions":[{"version":">= 7.1.0, < 7.1.3.1","status":"affected"}]}],"references":["https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq","https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272","https://discuss.rubyonrails.org/t/possible-redos-vulnerability-in-accept-header-parsing-in-action-dispatch/84946","https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.yml","https://security.netapp.com/advisory/ntap-20240503-0003/"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26142.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-26142","state":"PUBLISHED","datePublished":"2024-02-27T15:25:44.103Z","dateUpdated":"2025-02-13T17:41:05.743Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-02-14T17:40:03.688Z"},"containers":{"cna":{"title":"Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch","descriptions":[{"lang":"en","value":"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":[{"vendor":"rails","product":"rails","versions":[{"version":">= 7.1.0, < 7.1.3.1","status":"affected"}]}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq","name":"https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272","name":"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","name":"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","name":"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/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-03T13:06:03.897Z"},"source":{"advisory":"GHSA-jjhx-jhvp-74wq","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq","name":"https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272","name":"https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://discuss.rubyonrails.org/t/possible-redos-vulnerability-in-accept-header-parsing-in-action-dispatch/84946","name":"https://discuss.rubyonrails.org/t/possible-redos-vulnerability-in-accept-header-parsing-in-action-dispatch/84946","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.yml","name":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.yml","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240503-0003/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:59:32.697Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"rails","product":"rails","defaultStatus":"unknown","versions":[{"version":"7.1.0","status":"affected","lessThanOrEqual":"7.1.3.1","versionType":"custom"}],"cpes":["cpe:2.3:a:rails:rails:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-02-28T20:01:00.813235Z","id":"CVE-2024-26142","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-28T15:55:41.386Z"}}]}}}