Security readout for executives and security teams
Plain-English summary
ansi-html can be forced to spend excessive processing time on malicious text. If attacker-controlled input reaches this library, the business risk is service slowdown or outage, not data theft. The supplied bundle does not show CISA KEV listing or confirmed active exploitation.
Executive priority
Treat as high priority for exposed services because successful abuse can reduce availability without authentication. It is less urgent where ansi-html is only used on trusted build-time data. Validate reachability before emergency action.
Technical view
CVE-2021-23424 is a Regular Expression Denial of Service issue in the npm package ansi-html. The source bundle states all versions are affected and malicious input can make processing run for an extremely long time. CVSS 3.1 is 7.5, with availability impact only.
Likely exposure
Exposure is most likely in JavaScript applications, build pipelines, or dependencies that use ansi-html on untrusted or semi-trusted text. The bundle also cites a WebJars npm advisory. No specific downstream product exposure is proven in the provided sources.
Exploitation context
The provided CVSS vector indicates network-reachable, low-complexity, unauthenticated denial of service potential. KEV is false, so active exploitation is not established from the bundle. Evidence supports possible exploitation through malicious input but not widespread abuse.
Researcher notes
The source bundle names ansi-html broadly as affected and does not provide a fixed version. Keep findings scoped to ReDoS availability impact. Do not infer confidentiality, integrity, or active exploitation beyond the cited advisories and KEV=false signal.
Mitigation direction
- Inventory direct and transitive ansi-html dependencies across application and build manifests.
- Check vendor and advisory guidance for replacement, removal, or upgrade direction.
- Avoid passing attacker-controlled input to ansi-html where practical.
- Apply input size limits and request timeouts around affected processing paths.
- Prioritize internet-facing services that process user-supplied text.
Validation and detection
- Confirm whether ansi-html appears in production dependency trees or packaged assets.
- Map call paths where external input reaches ANSI-to-HTML conversion.
- Review runtime telemetry for CPU spikes tied to text-processing endpoints.
- Verify compensating controls such as input limits and timeout handling.
- Track advisory sources for any newly published fixed version or migration guidance.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-23424 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P3.93.6Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.5HighVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/Tjatse/ansi-html/issues/19CVE reference · x_refsource_MISC
- https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849CVE reference · x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567198CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
