CVE-2021-23341
HIGH7.5EPSS 1.8%Denial of service in prismjs
Published: 3/1/2021Modified: 1/14/2025
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 packages (2)
- Debian/node-prismjsfrom 0, < 1.23.0+dfsg-1
- npm/prismjsfrom 0, < 1.23.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-23341
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-23341
- WEBhttps://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609
- WEBhttps://github.com/PrismJS/prism/issues/2583
- WEBhttps://github.com/PrismJS/prism/pull/2584
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582
- WEBhttps://snyk.io/vuln/SNYK-JS-PRISMJS-1076581
- WEBhttps://www.npmjs.com/package/prismjs