{"id":"CVE-2021-3807","revision":"37b3405e0f4744a4aab5c004b01a4461","records":[{"revision":"37b3405e0f4744a4aab5c004b01a4461","observedAt":"2026-10-24T18:17:33.371+00:00","statement":{"source":"nvd","id":"CVE-2021-3807","aliases":[],"title":"ansi-regex is vulnerable to Inefficient Regular Expression Complexity","description":"ansi-regex is vulnerable to Inefficient Regular Expression Complexity","state":0,"publishedAt":"2021-09-17T07:15:09.273+00:00","modifiedAt":"2026-10-08T22:17:11.557+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"},{"system":"CVSS 3.0 · security@huntr.dev · Secondary","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","score":7.8,"severity":"HIGH"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-3807","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-1333"],"productCriteria":["cpe:2.3:a:ansi-regex_project:ansi-regex:*:*:*:*:*:node.js:*:*","cpe:2.3:a:ansi-regex_project:ansi-regex:3.0.0:*:*:*:*:node.js:*:*","cpe:2.3:a:ansi-regex_project:ansi-regex:5.0.0:*:*:*:*:node.js:*:*","cpe:2.3:a:ansi-regex_project:ansi-regex:6.0.0:*:*:*:*:node.js:*:*","cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:*"],"sourceDates":{"published":"2021-09-17T07:15:09.273","lastModified":"2026-10-08T22:17:11.557"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2021-3807","identifiers":["CVE-2021-3807"]},"retained":false,"historicalAffected":[]}],"coverage":[]}