Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-53866— pnpm vulnerable to no-script global cache poisoning via overrides / `ignore-scripts` evasion

Quick assessment

Affected
pnpm pnpm
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

pnpm是pnpm开源的一个包管理器。 pnpm 9.14.4及之前版本存在代码问题漏洞,该漏洞源于存在处理覆盖和全局缓存不当的漏洞,可导致在后续安装中运行任意代码。

AI Predicted 8.6 Difficulty: Easy EPSS 0.98% · P61
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-53866

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pnpm vulnerable to no-script global cache poisoning via overrides / `ignore-scripts` evasion
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
不可信的搜索路径
Source: CVE Program / CVE List V5
Vulnerability Title
pnpm 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pnpm是pnpm开源的一个包管理器。 pnpm 9.14.4及之前版本存在代码问题漏洞,该漏洞源于存在处理覆盖和全局缓存不当的漏洞,可导致在后续安装中运行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pnpm pnpm < 9.15.0 -

II. Public POCs for CVE-2024-53866

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-53866

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-53866 (1)

Vendor Advisories for CVE-2024-53866 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-53866

No comments yet


Leave a comment