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.
Published 2021-06-28 20:15:08
Updated 2022-03-28 16:16:29
Source GitHub, Inc.
View at NVD,   CVE.org
Vulnerability category: Denial of service

Products affected by CVE-2021-32723

Exploit prediction scoring system (EPSS) score for CVE-2021-32723

0.37%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 58 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2021-32723

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
4.3
MEDIUM AV:N/AC:M/Au:N/C:N/I:N/A:P
8.6
2.9
NIST
6.5
MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
2.8
3.6
NIST
7.4
HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
2.8
4.0
GitHub, Inc.

CWE ids for CVE-2021-32723

  • The product does not properly control the allocation and maintenance of a limited resource.
    Assigned by:
    • nvd@nist.gov (Secondary)
    • security-advisories@github.com (Primary)

References for CVE-2021-32723

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!