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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116 Patch, Vendor Advisory
- https://discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116 Patch, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · activesupport_projectNVD modified 2026-10-24 13:10
Affected (CPE criteria) 1
cpe:2.3:a:activesupport_project:activesupport:*:*:*:*:*:ruby:*:*
References 6
- https://discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116 Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240202-0009/
- https://www.debian.org/security/2023/dsa-5372
- https://discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116 Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240202-0009/
- https://www.debian.org/security/2023/dsa-5372