ansi-regex is vulnerable to Inefficient Regular Expression Complexity
CVE-2021-3807
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 3.6% (88th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5HIGHmedium confidence
- EG Risk
- 50EG Risk 50/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation4% × 40%Automatability100% × 15%CISA SSVC: Track at low or medium mission impact; Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 3.6%
- EPSS %ILE
- 89th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
September 17, 2021
Last Modified
October 8, 2026
Advisory Details (3)
Auto-updated Oct 8, 2026commit 8d1d7cdb5862 (chalk/ansi-regex)
Patch available: chalk/ansi-regex v6.0.1 (contains commit 8d1d7cdb5862)
https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9huntr - The world's first bug bounty platform for AI/ML
https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994Vendor Advisories for CVE-2021-3807(12)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2023:3742Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.13.0 security and bug fix update
- RHSA-2022:6595Red Hat Product SecurityMedium
Red Hat Security Advisory: nodejs and nodejs-nodemon security and bug fix update
- RHSA-2022:6449Red Hat Product SecurityMedium
Red Hat Security Advisory: nodejs:16 security and bug fix update
- RHSA-2022:5555Red Hat Product SecurityMedium
Red Hat Security Advisory: RHV Manager (ovirt-engine) [ovirt-4.5.1] security, bug fix and update
- RHSA-2022:5532Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Fuse 7.11.0 release and security update
- RHSA-2022:5483Red Hat Product SecurityMedium
Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.7.2 security and bug fix update
- RHSA-2022:4814Red Hat Product SecurityMedium
Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.6.5 security and bug fix update
- RHSA-2022:4711Red Hat Product SecurityMedium
Red Hat Security Advisory: RHV Manager (ovirt-engine) [ovirt-4.5.0] security update
- +4 more
Patch Availability(12)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| redhat | odf4/mcg-core-rhel9:v4.13.0-41 | 2023-06-21 | redhat |
| redhat | nodejs-nodemon-0:2.0.19-1.el9_0 | 2022-09-20 | redhat |
| redhat | nodejs:16-8060020220805104227.ad008a3a | 2022-09-13 | redhat |
| redhat | ovirt-web-ui-0:1.9.0-1.el8ev | 2022-07-14 | redhat |
| redhat | io.hawt-project | 2022-07-07 | redhat |
| redhat | rhmtc/openshift-migration-ui-rhel8:v1.7.2-9 | 2022-07-01 | redhat |
| redhat | rhmtc/openshift-migration-ui-rhel8:v1.6.5-8 | 2022-05-31 | redhat |
| redhat | ovirt-engine-ui-extensions-0:1.3.3-1.el8ev | 2022-05-26 | redhat |
| redhat | nodejs:14-8050020211213115342.c5368500 | 2022-02-01 | redhat |
| redhat | nodejs:14-8040020211213111158.522a0ee4 | 2022-01-25 | redhat |
| redhat | rh-nodejs14-nodejs-nodemon-0:2.0.3-6.el7 | 2022-01-06 | redhat |
| redhat | nodejs:16-8050020211206113934.c5368500 | 2021-12-16 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-ansi-regex | 5.0.0-1, 5.0.0-2 |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-ansi-regex | — |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-ansi-regex | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-ansi-regex | — |
| — |
npm(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ansi-regex | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 9× in last 7d / 33× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 188 total refreshes for this CVE.
- 2026-10-09 20:04 UTCEPSS rescore
- 2026-10-08 22:28 UTCVendor advisory
- 2026-10-08 21:33 UTCEG score recompute
- 2026-10-08 21:33 UTCVendor advisory
- 2026-10-08 16:40 UTCEPSS rescore
- 2026-10-07 23:45 UTCEPSS rescore
- 2026-10-06 15:14 UTCEPSS rescore
- 2026-10-05 17:40 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-10-02 16:23 UTCEPSS rescore
- 2026-10-01 19:46 UTCEPSS rescore
- 2026-09-30 15:39 UTCEG score recompute
- 2026-09-30 15:00 UTCEPSS rescore
- 2026-09-29 15:15 UTCEPSS rescore
- 2026-09-28 13:47 UTCEPSS rescore
- 2026-09-27 13:41 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 00:21 UTCEPSS rescore
- 2026-09-25 17:45 UTCOSV refresh
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-23 13:44 UTCEPSS rescore
- 2026-09-22 14:44 UTCEPSS rescore
- 2026-09-21 20:28 UTCEPSS rescore
- 2026-09-19 15:38 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-18 19:23 UTCEPSS rescore
- 2026-09-17 19:23 UTCEPSS rescore
- 2026-09-17 19:23 UTCEPSS rescore
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-11 14:49 UTCEPSS rescore
- 2026-09-11 09:33 UTCEPSS rescore
- 2026-09-08 21:56 UTCEPSS rescore
- 2026-09-07 15:58 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-06 08:00 UTCOSV refresh
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:03 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:50 UTCEPSS rescore
- 2026-09-01 03:33 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:37 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-24 14:13 UTCEPSS rescore
- 2026-08-23 00:16 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-19 18:28 UTCOSV refresh
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 13:45 UTCEPSS rescore
- 2026-08-17 13:44 UTCEPSS rescore
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 21:57 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 13:38 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-08 16:33 UTCEPSS rescore
- 2026-08-07 16:24 UTCEPSS rescore
- 2026-08-06 13:44 UTCEPSS rescore
- 2026-08-05 19:14 UTCEPSS rescore
- 2026-08-04 13:59 UTCOSV refresh
- 2026-08-04 10:34 UTCEPSS rescore
- 2026-08-03 10:33 UTCEPSS rescore
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:33 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:03 UTCEG score recompute
- 2026-07-22 22:49 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 11:29 UTCOSV refresh
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat:RHSA-2021:5171 · redhat:RHSA-2022:0041 · redhat:RHSA-2022:6449
- CVE-2021-33502EG 7.5HIGH
- CVE-2021-3918EG 9.8EPSS p90CRITICAL
- CVE-2020-7788EG 9.8CRITICAL
- CVE-2021-22959EG 6.5MEDIUM
- CVE-2021-22960EG 6.5MEDIUM
- CVE-2020-28469EG 5.3EPSS p91MEDIUM
- CVE-2021-37712EG 8.2HIGH
- CVE-2021-37701EG 8.2HIGH
- CVE-2022-32215NVD 6.5EG 9.1EPSS p99CRITICAL
- CVE-2022-32214NVD 6.5EG 8.9EPSS p100HIGH
Frequently asked(5)
What is CVE-2021-3807?
When was CVE-2021-3807 disclosed?
Is CVE-2021-3807 actively exploited?
What is the CVSS score of CVE-2021-3807?
How do I remediate CVE-2021-3807?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-3807
Is Your Infrastructure Affected by CVE-2021-3807?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.