Resource exhaustion in Activesupport Project
CVE-2023-22796
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.017, 77.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Activesupport Project
- Https://github.com/rails/rails — versions 6.1.7.1, 7.0.4.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, holmes-py/reports-summary). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability… (Patch, Vendor Advisory)
- DSA-5372 (vendor-advisory)
- security.netapp.com/advisory/ntap-20240202-0009/