CVE-2021-23341
Prismjs Prism vulnerability
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 products
Prism. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Prismjs Prism runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609 · Patch
- github.com/PrismJS/prism/issues/2583 · Exploit
- github.com/PrismJS/prism/pull/2584 · Patch
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583 · Exploit
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582 · Exploit
- snyk.io/vuln/SNYK-JS-PRISMJS-1076581 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2021-23341
- cve.org/CVERecord?id=CVE-2021-23341
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.