Vulnerability · Published Aug 18, 2021 · Assigned by snyk
CVE-2021-23424Regular Expression Denial of Service (ReDoS)
High 7.5
In plain English
A high-severity security flaw in ansi-html. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.8%top 21.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects all versions of package ansi-html. If an attacker provides a malicious string, it will get stuck processing the input for an extremely long time.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | ansi-html | 0.0.8 | GHSA-whgm-jr23-g3j9 |
Affected products (as reported)
References
- https://github.com/Tjatse/ansi-html/issues/19 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567198 x_refsource_MISC