{"cve":"CVE-2021-3807","nvd":{"published":"2021-09-17T07:15:09.273","modified":"2026-10-08T22:17:11.557","status":"Modified","description":"ansi-regex is vulnerable to Inefficient Regular Expression Complexity","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9","https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994","https://security.netapp.com/advisory/ntap-20221014-0002/","https://www.oracle.com/security-alerts/cpuapr2022.html","https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9"],"products":["ansi-regex_project:ansi-regex","oracle:communications_cloud_native_core_policy"],"source":"nvd","synced_at":"2026-10-19T21:23:41.316049955+00:00"},"epss":{"cve":"CVE-2021-3807","score":0.03552,"percentile":0.89229,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-93q8-gq69-wqmw","url":"https://osv.dev/vulnerability/GHSA-93q8-gq69-wqmw","summary":"Inefficient Regular Expression Complexity in chalk/ansi-regex","modified":"2026-09-10T03:49:08.570265604Z","packages":[{"ecosystem":"npm","name":"ansi-regex","purl":"pkg:npm/ansi-regex","ranges":[">=6.0.0 <6.0.1"],"fixed":["6.0.1"]},{"ecosystem":"npm","name":"ansi-regex","purl":"pkg:npm/ansi-regex","ranges":[">=5.0.0 <5.0.1"],"fixed":["5.0.1"]},{"ecosystem":"npm","name":"ansi-regex","purl":"pkg:npm/ansi-regex","ranges":[">=4.0.0 <4.1.1"],"fixed":["4.1.1"]},{"ecosystem":"npm","name":"ansi-regex","purl":"pkg:npm/ansi-regex","ranges":[">=3.0.0 <3.0.1"],"fixed":["3.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}