CVE-2021-3807Ansi-regex Project Ansi-regex
High 7.5 No auth needed
Follow: this CVE · Ansi-regex Project · Ansi-regex Project Ansi-regex We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.6% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Sep 17, 2021
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
ansi-regex is vulnerable to Inefficient Regular Expression Complexity
What to do
- Apply the vendor's security update for Ansi-regex.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | ansi-regex |
≥ 6.0.0 < 6.0.1 |
6.0.1 |
npm install ansi-regex@6.0.1 |
| npm | ansi-regex |
≥ 5.0.0 < 5.0.1 |
5.0.1 |
npm install ansi-regex@5.0.1 |
| npm | ansi-regex |
≥ 4.0.0 < 4.1.1 |
4.1.1 |
npm install ansi-regex@4.1.1 |
| npm | ansi-regex |
≥ 3.0.0 < 3.0.1 |
3.0.1 |
npm install ansi-regex@3.0.1 |
Per OSV / GitHub Advisories (GHSA-93q8-gq69-wqmw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ansi-regex_project | ansi-regex | ≥ 4.0.0 < 4.1.1 |
| ansi-regex_project | ansi-regex | 3.0.0 |
| ansi-regex_project | ansi-regex | 5.0.0 |
| ansi-regex_project | ansi-regex | 6.0.0 |
| oracle | communications_cloud_native_core_policy | 1.15.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Issue Tracking Patch
- security.netapp.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory