CVE-2021-32723
mediumPriorität · verfolgen · 26EPSS 0.014 · 73. PerzentilEURUUSEPSS · bewertet 2026-10-27
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.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · medium–high · 4.3–7.4
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (5)
Betroffene Produkte und Versionsbereiche.
Advisories (1)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-gj77-59wh-66hgRegular Expression Denial of Service (ReDoS) in Prism2021-06-28ghsa · osvUS
Some languages before 1.24.0 are vulnerable to Regular Expression Denial of Service (ReDoS). ### Impact 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. Do not use the following languages to highlight untrusted text. - ASCIIDoc - ERB Other languages are __not__ affected and can be used to highlight untrusted text. ### Patches This problem has been fixed in Prism v1.24. ### References - PrismJS/prism#2774 - PrismJS/prism#2688
auch bekannt als (4)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (14)
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/PrismJS/prism/pull/2688cnnvd
- https://github.com/PrismJS/prism/pull/2774cnnvd
- https://github.com/PrismJS/prism/security/advisories/GHSA-gj77-59wh-66hgcnnvd
- https://vigilance.fr/vulnerability/Node-js-prismjs-overload-via-Regular-Expression-35789cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022011822cnnvd
- https://www.oracle.com/security-alerts/cpujan2022.htmlcnnvd
- https://github.com/PrismJS/prism/pull/2688enisa_euvd
- https://github.com/PrismJS/prism/pull/2774enisa_euvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan