{"id":"CVE-2021-3807","state":"PUBLISHED","title":"Inefficient Regular Expression Complexity in chalk/ansi-regex","description":"ansi-regex is vulnerable to Inefficient Regular Expression Complexity","publishedAt":"2021-09-17T00:00:00.000Z","updatedAt":"2026-10-08T21:14:08.869Z","severity":{"score":7.5,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"@huntrdev"},"assigner":"@huntrdev","products":["chalk chalk/ansi-regex"],"affected":[{"vendor":"chalk","product":"chalk/ansi-regex","versions":[{"version":"unspecified","status":"affected","lessThan":"6.0.1","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"5.0.1","versionType":"custom"},{"version":"5.0.1","status":"unaffected"}]}],"references":["https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994","https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9","https://www.oracle.com/security-alerts/cpuapr2022.html","https://security.netapp.com/advisory/ntap-20221014-0002/"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3807.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-3807","state":"PUBLISHED","datePublished":"2021-09-17T00:00:00.000Z","dateUpdated":"2026-10-08T21:14:08.869Z","assignerShortName":"@huntrdev","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2021-09-16T00:00:00.000Z"},"containers":{"cna":{"title":"Inefficient Regular Expression Complexity in chalk/ansi-regex","descriptions":[{"lang":"en","value":"ansi-regex is vulnerable to Inefficient Regular Expression Complexity"}],"affected":[{"vendor":"chalk","product":"chalk/ansi-regex","versions":[{"version":"unspecified","status":"affected","lessThan":"6.0.1","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"5.0.1","versionType":"custom"},{"version":"5.0.1","status":"unaffected"}]}],"references":[{"url":"https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994"},{"url":"https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9"},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"url":"https://security.netapp.com/advisory/ntap-20221014-0002/"}],"metrics":[{"cvssV3_0":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","type":"CWE","lang":"en","description":"CWE-1333 Inefficient Regular Expression Complexity"}]}],"providerMetadata":{"shortName":"@huntrdev","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2022-10-14T00:00:00.000Z"},"source":{"advisory":"5b3cf33b-ede0-4398-9974-800876dfd994","discovery":"EXTERNAL"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994","tags":["x_transferred"]},{"url":"https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9","tags":["x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20221014-0002/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:09:08.762Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-3807","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-08T21:13:38.294387Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-08T21:14:08.869Z"}}]}}}