Back
CVE-2021-3807Inefficient Regular Expression Complexity in chalk/ansi-regex
- 7.5HighCVSS base score
- 3.6%Exploitation in 30 daysEPSS · top 10% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
ansi-regex is vulnerable to Inefficient Regular Expression Complexity
Timeline
ID reserved
By @huntrdev
- 1 day later
· 1 day later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| @huntrdevCNA (assigner) | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 3.6% · top 10% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
- affected unspecified – < 6.0.1
- affected unspecified – < 5.0.1
- unaffected 5.0.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmansi-regexGHSA-93q8-gq69-wqmw (opens in a new tab)
References
References4
- https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994 (opens in a new tab)x_transferred
- https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9 (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20221014-0002/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-2021 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-93q8-gq69-wqmw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-3807)Record last updated .