CVE-2021-32723

Source
https://cve.org/CVERecord?id=CVE-2021-32723
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32723.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-32723
Aliases
Downstream
Published
2021-06-28T20:15:07Z
Modified
2026-07-08T06:29:16Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "fixed": "21.1.4"
                }
            ],
            "source": "CPE_RANGE",
            "vendor_product": "oracle:application_express"
        }
    ]
}
References

Affected packages

Git / github.com/prismjs/prism

Affected ranges

Type
GIT
Repo
https://github.com/prismjs/prism
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe": "cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.24.0"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

1.*
1.4.0
1.5.0
1.5.1
v1.*
v1.0.0
v1.0.1
v1.1.0
v1.10.0
v1.11.0
v1.12.0
v1.12.1
v1.12.2
v1.13.0
v1.14.0
v1.15.0
v1.16.0
v1.17.0
v1.17.1
v1.18.0
v1.19.0
v1.2.0
v1.20.0
v1.21.0
v1.22.0
v1.23.0
v1.3.0
v1.4.1
v1.6.0
v1.7.0
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32723.json"