{"id":"CVE-2023-22795","published":"2023-02-09T00:00:00Z","modified":"2024-08-02T10:20:30Z","title":"A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-Match…","vendor":null,"product":null,"tier":"tail","description":{"text":"A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-Match header. A specially crafted HTTP If-None-Match header can cause the regular expression engine to enter a state of catastrophic backtracking, when on a version of Ruby below 3.2.0. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02341,"percentile":0.84027,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2023-22795-possible-redos-based-dos-vulnerability-in-action-dispatch/82118","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5372","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240202-0010/","tags":[]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":16.81}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":["6.1.7.1, 7.0.4.1"]}],"affected":[{"ecosystem":"RubyGems","package":"actionpack","vulnerableRanges":[">=4.0.0.beta1, <6.1.7.1",">=7.0.0, <7.0.4.1"],"patched":["6.1.7.1","7.0.4.1"],"from":["GHSA-8xww-x3g3-6jcv"],"provenance":"source"}],"summary":{"text":"The flaw is a regular expression denial-of-service issue in Action Dispatch, the Rails component, in releases before 6.1.7.1 and 7.0.4.1, where the If-None-Match header is parsed. An attacker who can send HTTP requests to an affected application can supply a specially crafted If-None-Match header that drives the regex engine into catastrophic backtracking, but only on Ruby versions below 3.2.0, causing excessive CPU and memory use and potentially denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:55Z"},"euvd":{"id":"EUVD-2023-0417","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-23633","published":"2022-02-11","fixed":"7.0.2.2","kev":false},{"cve":"CVE-2022-22577","published":"2022-05-26","fixed":"7.0.2.4","kev":false,"link":{"from":"CVE-2022-22577","to":"CVE-2023-22795","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"6.1.5.1","toFixed":"6.1.7.1","daysApart":259},{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"7.0.2.4","toFixed":"7.0.4.1","daysApart":259}]}},{"cve":"CVE-2023-22792","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"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}],"package":"RubyGems:actionpack"}}