// For flags

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
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Complete
* 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
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