SCA: security update for prismjs (GHSA-gj77-59wh-66hg)

medium Tenable Cloud Security Plugin ID 415165

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2021-32723)

See Also

https://github.com/advisories/GHSA-gj77-59wh-66hg

Plugin Details

Severity: Medium

ID: 415165

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 1/27/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2021-32723

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/28/2021

Vulnerability Publication Date: 6/28/2021

Reference Information

CVE: CVE-2021-32723

cwe: CWE-400