SCA: security update for pnpm (GHSA-vm32-9rqf-rh3r)

medium Tenable Self-Hosted Container Security Plugin ID 419397

Description

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

- The package manager pnpm prior to version 9.15.0 seems to mishandle overrides and global cache: Overrides
from one workspace leak into npm metadata saved in global cache; npm metadata from global cache affects
other workspaces; and installs by default don't revalidate the data (including on first lockfile
generation). This can make workspace A (even running with `ignore-scripts=true`) posion global cache and
execute scripts in workspace B. Users generally expect `ignore-scripts` to be sufficient to prevent
immediate code execution on install (e.g. when the tree is just repacked/bundled without executing it).
Here, that expectation is broken. Global state integrity is lost via operations that one would expect to
be secure, enabling subsequently running arbitrary code execution on installs. Version 9.15.0 fixes the
issue. As a work-around, use separate cache and store dirs in each workspace. (CVE-2024-53866)

See Also

https://github.com/advisories/GHSA-vm32-9rqf-rh3r

Plugin Details

Severity: Medium

ID: 419397

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2024-53866

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.8

Threat Score: 2.6

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:H/SA:H

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/10/2024

Vulnerability Publication Date: 12/10/2024

Reference Information

CVE: CVE-2024-53866