Vulnerability in ansi-regex
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A weakness called CVE-2021-3807 was discovered in ansi-regex.
Severity is High (CVSS 7.5/10). If exploited, attackers can leak data or disrupt key functionality.
What you should do: update the affected software to the latest version. If unsure, ask your IT team or search the vendor's site for "ansi-regex CVE-2021-3807".
CVE-2021-3807 (ansi-regex). Severity: High / CVSSv3 7.5. Category: CWE-1333.
Response plan:
- Check the vendor advisory for affected versions and the patched release.
- If a vulnerable version is running in production, schedule maintenance (urgency from KEV/CVSS).
- If no patch yet, mitigate via WAF rule, disabling the affected feature, etc.
- Monitor logs / SIEM for known IOC and PoC signatures of this CVE.
PoCs and fix commits: see the 'References' section, MITRE, and NVD.
A weakness (CVE-2021-3807) in ansi-regex. A serious software flaw has been identified.
Target versions of ansi-regex (see vendor advisory). If running in production, identify exposure immediately.
Severity: High (CVSS 7.5/10). If exploited, attackers can leak data or disrupt key functionality.
Update to the patched release as listed in the vendor advisory. (Typical mitigation pattern for CWE-1333)
If a patch is not yet available, consider disabling the affected feature, applying WAF rules, blocking via network ACLs, or isolating the vulnerable version.
Check version information, scan dependencies via SBOM, and monitor SIEM for IOC and PoC signatures related to this CVE.
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmansi-regex |
≥ 3.0.0, < 3.0.1→ 3.0.1 |
3.0.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2021-3807 node-ansi-regex Fix available
- Ubuntu UBUNTU-CVE-2021-3807 node-ansi-regex No fixed version in this record
Original description The description as published by the source.
ansi-regex is vulnerable to Inefficient Regular Expression Complexity
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory security.netapp.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch huntr.dev
- patch oracle.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web app.snyk.io
- web github.com
- web security.netapp.com