7.4
CWE
400
Advisory Published
Updated

CVE-2021-32723

First published: Mon Jun 28 2021(Updated: )

Prism is a syntax highlighting library. Some languages before 1.24.0 are vulnerable to Regular Expression Denial of Service (ReDoS). When Prism is used to highlight untrusted (user-given) text, an attacker can craft a string that will take a very very long time to highlight. This problem has been fixed in Prism v1.24. As a workaround, do not use ASCIIDoc or ERB to highlight untrusted text. Other languages are not affected and can be used to highlight untrusted text.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Prismjs Prism<1.24.0
Oracle Application Express<21.1.4

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-32723?

    CVE-2021-32723 is a vulnerability in Prism, a syntax highlighting library, where some languages before version 1.24.0 are vulnerable to Regular Expression Denial of Service (ReDoS).

  • How does CVE-2021-32723 affect Prism?

    CVE-2021-32723 affects Prism by allowing an attacker to craft a string that will cause a very long time to highlight when untrusted (user-given) text is used for highlighting.

  • What is the severity of CVE-2021-32723?

    The severity of CVE-2021-32723 is high with a CVSS score of 6.5.

  • Which versions of Prism are affected by CVE-2021-32723?

    Versions of Prism before 1.24.0 are affected by CVE-2021-32723.

  • How can I fix the CVE-2021-32723 vulnerability in Prism?

    To fix the CVE-2021-32723 vulnerability in Prism, update to version 1.24.0 or newer.

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