{"id":"CVE-2023-22792","published":"2023-02-09T00:00:00Z","modified":"2025-03-24T20:30:41Z","title":"A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1","vendor":null,"product":null,"tier":"tail","description":{"text":"A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. 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":{"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":"CISA ADP Vulnrichment"},"epss":{"score":0.01742,"percentile":0.78318,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2023-22792-possible-redos-based-dos-vulnerability-in-action-dispatch/82115","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5372","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240202-0007/","tags":[]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":15.66},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":["6.0.6.1, 6.1.7.1, 7.0.4.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-24T20:30:13.685541Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"actionpack","vulnerableRanges":[">=3.0.0, <5.2.8.15",">=6.0.0, <6.1.7.1",">=7.0.0, <7.0.4.1"],"patched":["5.2.8.15","6.1.7.1","7.0.4.1"],"from":["GHSA-p84v-45xj-wwqj"],"provenance":"source"}],"summary":{"text":"A regular expression based denial-of-service flaw in Action Dispatch, the component of Rails (versions below 6.0.6.1, 6.1.7.1 and 7.0.4.1), is triggered when Action Dispatch processes cookies. An attacker who sends specially crafted cookies together with a specially crafted X_FORWARDED_HOST header can drive the regular expression engine into catastrophic backtracking, consuming large amounts of CPU and memory and potentially making the process unavailable, with no authentication or user interaction needed over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:45Z"},"euvd":{"id":"EUVD-2023-0513","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-44528","published":"2022-01-07","fixed":"6.1.4.2","kev":false},{"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-22792","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"5.2.7.1","toFixed":"5.2.8.15","daysApart":259},{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"6.1.5.1","toFixed":"6.1.7.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,"link":{"from":"CVE-2023-22792","to":"CVE-2023-28362","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"6.1.7.1","toFixed":"6.1.7.4","daysApart":700},{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"7.0.4.1","toFixed":"7.0.5.1","daysApart":700}]}}],"package":"RubyGems:actionpack"}}