7.5

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

Modified
AliasesUBUNTU-CVE-2021-23341DEBIAN-CVE-2021-23341GHSA-h4hr-7fg3-h35w
Published 18-02-2021Last modified 16-09-2024

Vulnerability summary

CVE-2021-23341 is a high (CVSS 7.5) vulnerability in prismjs prism. EPSS estimates a 3.21% chance of exploitation in the next 30 days, higher than 88.5% of scored vulnerabilities. 4 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
3.21%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits4github, reference

Timeline

  1. 18-02-2021
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

3.21%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 3.17% 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

4 found
  • githubUnverified

    Prism

    Maturity: poc

  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

Show all 4 exploits
  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

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

Debian1 product
  • node-prismjs< 1.23.0+dfsg-1
Npm1 product
  • prismjs< 1.23.0
Prismjs1 product
Ubuntu1 product
  • node-prismjsAll versions (No fix recorded)

4 vendors · 4 products

References

11 links
Show all 11 references