{"id":"CVE-2023-22796","published":"2023-02-09T00:00:00Z","modified":"2024-11-27T15:16:00Z","title":"A regular expression based DoS vulnerability in Active Support <6.1.7.1 and <7.0.4.1","vendor":null,"product":null,"tier":"tail","description":{"text":"A regular expression based DoS vulnerability in Active Support <6.1.7.1 and <7.0.4.1. A specially crafted string passed to the underscore method 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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01759,"percentile":0.78535,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5372","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240202-0009/","tags":[]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":15.71}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":["6.1.7.1, 7.0.4.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-02-05T21:51:29.512010Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"activesupport","vulnerableRanges":["<6.1.7.1",">=7.0.0, <7.0.4.1"],"patched":["6.1.7.1","7.0.4.1"],"from":["GHSA-j6gc-792m-qgm2"],"provenance":"source"}],"summary":{"text":"A regular expression denial-of-service flaw exists in Active Support (the Rails utility library) in versions before 6.1.7.1 and before 7.0.4.1, within the underscore method. An attacker who can get a specially crafted string passed to that method can trigger catastrophic regex backtracking, consuming large amounts of CPU and memory and potentially making the process unavailable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:29Z"},"euvd":{"id":"EUVD-2023-0491","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rails-cve-2023-22796","children":[{"from":"CVE-2023-22796","to":"CVE-2026-126080","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["activesupport/lib/active_support/inflector/methods.rb"],"commits":["https://github.com/rails/rails/commit/2164d4f6a1bde74b911fe9ba3c8df1b5bf345bf8","https://github.com/rails/rails/commit/a7cda7e6aa5334ab41b1f4b0f671be931be946ef","https://github.com/rails/rails/commit/210ac22d446c8e2625b091e79256806b836eee20","https://github.com/rails/rails/commit/95aa9e416016524956d4904fed96eaed079580bb"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2015-3226","published":"2015-07-26","fixed":"4.2.2","kev":false},{"cve":"CVE-2015-3227","published":"2015-07-26","fixed":"4.2.2","kev":false},{"cve":"CVE-2020-8165","published":"2020-06-19","fixed":"6.0.3.1","kev":false},{"cve":"CVE-2023-22796","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"cve":"CVE-2023-28120","published":"2025-01-09","fixed":"7.0.4.3","kev":false,"link":{"from":"CVE-2023-22796","to":"CVE-2023-28120","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"7.0.4.1","toFixed":"7.0.4.3","daysApart":700},{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"6.1.7.1","toFixed":"6.1.7.3","daysApart":700}]}},{"cve":"CVE-2023-38037","published":"2025-01-09","fixed":"7.0.7.1","kev":false},{"cve":"CVE-2026-33169","published":"2026-03-23","fixed":"8.1.2.1","kev":false}],"package":"RubyGems:activesupport"}}