Vulnerability Details : 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 category: Denial of service
Products affected by CVE-2023-22796
- cpe:2.3:a:activesupport_project:activesupport:*:*:*:*:*:ruby:*:*
- Activesupport Project » Activesupport » For RubyVersions from including (>=) 7.0.0 and before (<) 7.0.4.1cpe:2.3:a:activesupport_project:activesupport:*:*:*:*:*:ruby:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-22796
1.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 77 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-22796
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2023-22796
-
The product does not properly control the allocation and maintenance of a limited resource.Assigned by: support@hackerone.com (Secondary)
-
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-22796
-
https://www.debian.org/security/2023/dsa-5372
Debian -- Security Information -- DSA-5372-1 rails
-
https://security.netapp.com/advisory/ntap-20240202-0009/
CVE-2023-22796 Ruby on Rails Vulnerability in NetApp Products | NetApp Product Security
-
https://discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116
[CVE-2023-22796] Possible ReDoS based DoS vulnerability in Active Support's underscore - Security Announcements - Ruby on Rails DiscussionsPatch;Vendor Advisory
Jump to