Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2024-53866

Опубликовано: 10 дек. 2024
Источник: nvd
CVSS3: 9.8
EPSS Низкий

Описание

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.

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:*:node.js:*
Версия до 9.15.0 (исключая)

EPSS

Процентиль: 77%
0.01004
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-426

Связанные уязвимости

CVSS3: 9.8
debian
около 1 года назад

The package manager pnpm prior to version 9.15.0 seems to mishandle ov ...

github
около 1 года назад

pnpm no-script global cache poisoning via overrides / `ignore-scripts` evasion

EPSS

Процентиль: 77%
0.01004
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-426