CVE-2021-23424
7.5high
Regular Expression Denial of Service (ReDoS)
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 1.77% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-whgm-jr23-g3j9
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
| Product or package | Versions | Reported by |
|---|---|---|
| ansi-html | before unspecified | CVE List |
| ansi-html (npm) | before 0.0.8 | GitHub Advisory Database |
| ansi-html_project ansi-html | before 0.0.8 | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Esto afecta a todas las versiones del paquete ansi-html. Si un atacante proporciona una cadena maliciosa, se bloqueará el procesamiento de la entrada durante un tiempo extremadamente largo.
References
| https://github.com/Tjatse/ansi-html/issues/19 | exploit, issue-tracking, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567198 | exploit, third-party-advisory, web | |
| https://github.com/ioet/time-tracker-ui/security/advisories/GHSA-4fjc-8q3h-8r69 | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23424 | advisory | |
| https://github.com/Tjatse/ansi-html/commit/8142b25bca3133ea060bcc1889277dc482327a63 | web | |
| https://github.com/Tjatse/ansi-html | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23424 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-whgm-jr23-g3j9 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-23424 changed 2026-06-17 | Public domain |