7.5
CWE
400
Advisory Published
Advisory Published
Updated

CVE-2021-23341: Regular Expression Denial of Service (ReDoS)

First published: Thu Feb 18 2021(Updated: )

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.

Credit: report@snyk.io report@snyk.io

Affected SoftwareAffected VersionHow to fix
npm/prismjs<1.23.0
1.23.0
Prismjs Prism<1.23.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-23341?

    CVE-2021-23341 is a vulnerability in the package prismjs before version 1.23.0 that allows Regular Expression Denial of Service (ReDoS) attacks.

  • What is Regular Expression Denial of Service (ReDoS)?

    Regular Expression Denial of Service (ReDoS) is a type of vulnerability where a maliciously crafted input can cause a regular expression to consume significant amount of time, leading to denial of service.

  • How does CVE-2021-23341 affect prismjs?

    CVE-2021-23341 affects prismjs before version 1.23.0, specifically impacting the `prism-asciidoc`, `prism-rest`, `prism-tap`, and `prism-eiffel` components.

  • What is the severity rating of CVE-2021-23341?

    CVE-2021-23341 has a severity rating of 7.5 (high).

  • How can I fix the vulnerability CVE-2021-23341?

    To fix the vulnerability CVE-2021-23341, update the prismjs package to version 1.23.0 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203