CVE-2021-23341
7.5high
Regular Expression Denial of Service (ReDoS)
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 3.21% (higher than 89% of CVEs)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-h4hr-7fg3-h35w
Description
The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| prismjs | from unspecified before 1.23.0 | CVE List |
| prismjs (npm) | before 1.23.0 | GitHub Advisory Database |
| prismjs prism | before 1.23.0 | 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 |
| GitHub | high rating | |
| 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
The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.
GitHub Advisory Database
The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.
NVD (es)
El paquete prismjs versiones anteriores a 1.23.0, es vulnerable a la Denegación de Servicio de Expresión Regular (ReDoS) por medio de los componentes prism-asciidoc, prism-rest, prism-tap y prism-eiffel
References
| https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583 | exploit, third-party-advisory, web | |
| https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609 | patch, third-party-advisory, web | |
| https://github.com/PrismJS/prism/issues/2583 | exploit, patch, third-party-advisory, web | |
| https://github.com/PrismJS/prism/pull/2584 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23341 | advisory | |
| https://www.npmjs.com/package/prismjs | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23341 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h4hr-7fg3-h35w changed 2025-01-14 | CC-BY-4.0 |
| NVD | CVE-2021-23341 changed 2026-06-17 | Public domain |