Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ansi-html
  4. ›
  5. CVE-2021-23424

CVE-2021-23424: Uncontrolled Resource Consumption

August 18, 2021 (updated August 4, 2022)

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.

References

  • github.com/Tjatse/ansi-html/issues/19
  • nvd.nist.gov/vuln/detail/CVE-2021-23424

Code Behaviors & Features

Detect and mitigate CVE-2021-23424 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.8

Fixed versions

  • 0.0.8

Solution

Upgrade to version 0.0.8 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

npm/ansi-html/CVE-2021-23424.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:31 +0000.