Read the docs
TI-2021-06116 Aliases CVE-2021-23424GHSA-whgm-jr23-g3j9

Regular expression denial of service (ReDoS) in ansi-html

Priority LOW 36CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

Summary

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.

Why it matters now

EPSS 0.01768 78th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial ansi-html (npm): 0.0.8Red Hat: 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ansi-htmlall versions—No fix listedCNA
—ansi-html (npm)before 0.0.80.0.8Patch availableGHSA-whgm-jr23-g3j9
  • ansi-html Vendor— Affected all versions Fixed in — No fix listed CNA
  • ansi-html (npm) Vendor— Affected before 0.0.8 Fixed in 0.0.8 Patch available GHSA-whgm-jr23-g3j9

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ansi-html_project:ansi-html:*:*:*:*:*:node.js:*:*before 0.0.8VulnerableAnsi-html Project
  • cpe:2.3:a:ansi-html_project:ansi-html:*:*:*:*:*:node.js:*:* Versions before 0.0.8 Vulnerable ·Ansi-html Project

Remediation

  • Fix · GHSA-whgm-jr23-g3j9 ansi-html (npm) Fixed in 0.0.8 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift Service Mesh 1AffectedNo fix planned: Out of support scope
OpenShift Service Mesh 2.0AffectedNo fix yet
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet: Fix deferred
Not affected: 1 product
  • Red Hat Advanced Cluster Management for Kubernetes 2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23424
  2. 2026-10-03 Alias added: GHSA-whgm-jr23-g3j9

References

Sources