CVE-2021-3807
ansi-regex is vulnerable to Inefficient Regular Expression Complexity
- CVSS 3.1
- 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS
- 3.6% chance of exploitation in the next 30 days; higher than 89% of CVEs (scores of 2026-10-25)
- CWE
- CWE-1333
- Published
- Modified
- Record from
- the NVD, synced
Affected
- ansi-regex_project:ansi-regex
- oracle:communications_cloud_native_core_policy
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-93q8-gq69-wqmw | npm | ansi-regex | >=6.0.0 <6.0.1 | 6.0.1 |
| GHSA-93q8-gq69-wqmw | npm | ansi-regex | >=5.0.0 <5.0.1 | 5.0.1 |
| GHSA-93q8-gq69-wqmw | npm | ansi-regex | >=4.0.0 <4.1.1 | 4.1.1 |
| GHSA-93q8-gq69-wqmw | npm | ansi-regex | >=3.0.0 <3.0.1 | 3.0.1 |
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