CVE-2021-3807

Inefficient Regular Expression Complexity in chalk/ansi-regex

HIGH
7.5
CVSS Score
Published: September 17, 2021 at 12:00 AM UTC
Updated: October 8, 2026 at 10:17 PM UTC
3 products affected across 3 vendorsCommunications Cloud Native Core PolicyAnsi RegexAnsi Regex

Using chalk/ansi-regex by chalk?

Get instant alerts when new vulnerabilities affect chalk/ansi-regex - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 4%
SSVC
No known exploit

Description

ansi-regex is vulnerable to Inefficient Regular Expression Complexity

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.0.0 ≤ v < 4.1.1*3.0.05.0.06.0.0
Affected range stops below 4.1.1, so it looks safe — our inference, not a vendor statement
v < 5.0.1v < 6.0.1
Vendor states this is fixed in 5.0.1 (unaffected)
Affected range stops below 6.0.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card