GitHub Advisoryadvisory · npm
GHSA-h4hr-7fg3-h35w Denial of service in prismjs
HIGH
Official page ↗
- Aliases
- CVE-2021-23341
- Ecosystem
- npm
- Packages
- prismjs
- Severity
- High
- Weaknesses
- CWE-400
- Reviewed
- 2021-02-24
Affected packages
• npm prismjs: < 1.23.0 → fixed in 1.23.0
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.
Related
Alias · CVE (1)
- CVE-2021-23341 The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest,… vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23341 advisory
- https://github.com/PrismJS/prism/issues/2583 web
- https://github.com/PrismJS/prism/pull/2584 web
- https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582 web
- https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581 web
- https://www.npmjs.com/package/prismjs web