7.8

CVE-2021-3807: Inefficient Regular Expression Complexity in chalk/ansi-regex

Modified
AliasesUBUNTU-CVE-2021-3807DEBIAN-CVE-2021-3807GHSA-93q8-gq69-wqmw
Published 17-09-2021Last modified 08-10-2026

Vulnerability summary

CVE-2021-3807 is a high (CVSS 7.8) vulnerability in ansi-regex_project ansi-regex. EPSS estimates a 3.55% chance of exploitation in the next 30 days, higher than 89.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v2.0 (NVD)
EPSS score
3.55%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 28 · Related 22

Timeline

  1. 17-09-2021
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

Description

ansi-regex is vulnerable to Inefficient Regular Expression Complexity

CVSS metrics

9 scores · 6 sources · 3 versions

EPSS trend

Probability

3.55%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.55% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.dev)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • arangodb-3.11< 3.11.14.5-r21
  • arangodb-3.12< 3.12.9.4-r17
Ansi-regex_project1 product
  • ansi-regex≥ 4.0.0, < 4.1.1 | 3.0.0 | 5.0.0 | 6.0.0
Chalk1 product
Debian1 product
  • node-ansi-regex< 5.0.1-1
Npm1 product
  • ansi-regex≥ 6.0.0, < 6.0.1 | ≥ 5.0.0, < 5.0.1 | ≥ 4.0.0, < 4.1.1 | ≥ 3.0.0, < 3.0.1
Oracle1 product
Ubuntu1 product
  • node-ansi-regexAll versions (No fix recorded)

7 vendors · 8 products

References

17 links
Show all 17 references