high7.5
CVE-2021-23424
Uncontrolled Resource Consumption in ansi-html
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | ansi-html | < 0.0.8 | 0.0.8 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ansi-Html Project | Ansi-Html | before 0.0.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Tjatse/ansi-html/issues/19
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567198
- https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849
- https://github.com/advisories/GHSA-whgm-jr23-g3j9
- https://nvd.nist.gov/vuln/detail/CVE-2021-23424
- https://github.com/ioet/time-tracker-ui/security/advisories/GHSA-4fjc-8q3h-8r69
- https://github.com/Tjatse/ansi-html/commit/8142b25bca3133ea060bcc1889277dc482327a63