7.4

CVE-2021-32723: Regular Expression Denial of Service (ReDoS) in Prism

Modified
AliasesUBUNTU-CVE-2021-32723GHSA-gj77-59wh-66hg
Published 28-06-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32723 is a high (CVSS 7.4) Uncontrolled Resource Consumption vulnerability in oracle application_express. EPSS estimates a 1.42% chance of exploitation in the next 30 days, higher than 73.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.4/10
010
High · v3.1 (CVE.org)
EPSS score
1.42%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 28-06-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

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 metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

1.42%

Chance of exploitation in the next 30 days

Percentile

74%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.42% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Npm1 product
  • prismjs< 1.24.0
Oracle1 product
Prismjs1 product
Ubuntu1 product
  • node-prismjsAll versions (No fix recorded)

4 vendors · 4 products

References

9 links