CVE-2021-3807
Inefficient Regular Expression Complexity in chalk/ansi-regex
Severity Score
7.5
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
1
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
ansi-regex is vulnerable to Inefficient Regular Expression Complexity
ansi-regex es vulnerable a una Complejidad de Expresiones Regulares Ineficientes
A regular expression denial of service (ReDoS) vulnerability was found in nodejs-ansi-regex. This could possibly cause an application using ansi-regex to use an excessive amount of CPU time when matching crafted ANSI escape codes.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2021-09-16 CVE Reserved
- 2021-09-17 CVE Published
- 2024-06-02 EPSS Updated
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-400: Uncontrolled Resource Consumption
- CWE-1333: Inefficient Regular Expression Complexity
CAPEC
References (6)
URL | Tag | Source |
---|---|---|
https://security.netapp.com/advisory/ntap-20221014-0002 | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994 | 2024-08-03 |
URL | Date | SRC |
---|---|---|
https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9 | 2023-07-10 | |
https://www.oracle.com/security-alerts/cpuapr2022.html | 2023-07-10 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2021-3807 | 2023-06-21 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2007557 | 2023-06-21 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Ansi-regex Project Search vendor "Ansi-regex Project" | Ansi-regex Search vendor "Ansi-regex Project" for product "Ansi-regex" | >= 4.0.0 < 4.1.1 Search vendor "Ansi-regex Project" for product "Ansi-regex" and version " >= 4.0.0 < 4.1.1" | node.js |
Affected
| ||||||
Ansi-regex Project Search vendor "Ansi-regex Project" | Ansi-regex Search vendor "Ansi-regex Project" for product "Ansi-regex" | 3.0.0 Search vendor "Ansi-regex Project" for product "Ansi-regex" and version "3.0.0" | node.js |
Affected
| ||||||
Ansi-regex Project Search vendor "Ansi-regex Project" | Ansi-regex Search vendor "Ansi-regex Project" for product "Ansi-regex" | 5.0.0 Search vendor "Ansi-regex Project" for product "Ansi-regex" and version "5.0.0" | node.js |
Affected
| ||||||
Ansi-regex Project Search vendor "Ansi-regex Project" | Ansi-regex Search vendor "Ansi-regex Project" for product "Ansi-regex" | 6.0.0 Search vendor "Ansi-regex Project" for product "Ansi-regex" and version "6.0.0" | node.js |
Affected
| ||||||
Oracle Search vendor "Oracle" | Communications Cloud Native Core Policy Search vendor "Oracle" for product "Communications Cloud Native Core Policy" | 1.15.0 Search vendor "Oracle" for product "Communications Cloud Native Core Policy" and version "1.15.0" | - |
Affected
|