目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2021-39135— NPM arborist 后置链接漏洞

CVSS 8.2 · High EPSS 0.55% · P43
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2021-39135 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
UNIX Symbolic Link (Symlink) Following in @npmcli/arborist
来源: CVE Program / CVE List V5
Vulnerability Description
`@npmcli/arborist`, the library that calculates dependency trees and manages the node_modules folder hierarchy for the npm command line interface, aims to guarantee that package dependency contracts will be met, and the extraction of package contents will always be performed into the expected folder. This is accomplished by extracting package contents into a project's `node_modules` folder. If the `node_modules` folder of the root project or any of its dependencies is somehow replaced with a symbolic link, it could allow Arborist to write package dependencies to any arbitrary location on the file system. Note that symbolic links contained within package artifact contents are filtered out, so another means of creating a `node_modules` symbolic link would have to be employed. 1. A `preinstall` script could replace `node_modules` with a symlink. (This is prevented by using `--ignore-scripts`.) 2. An attacker could supply the target with a git repository, instructing them to run `npm install --ignore-scripts` in the root. This may be successful, because `npm install --ignore-scripts` is typically not capable of making changes outside of the project directory, so it may be deemed safe. This is patched in @npmcli/arborist 2.8.2 which is included in npm v7.20.7 and above. For more information including workarounds please see the referenced GHSA-gmw6-94gg-2rc2.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
CWE-61
来源: CVE Program / CVE List V5
Vulnerability Title
NPM arborist 后置链接漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
NPM arborist是美国npm(NPM)公司的一个软件包。用于可视化存储为平面列表的分层数据。 NPM arborist 存在后置链接漏洞,该漏洞源于网络系统或产品的代码开发过程中存在设计或实现不当的问题。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
npmarborist < 2.8.2 -

二、漏洞 CVE-2021-39135 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2021-39135 的情报信息

登录查看更多情报信息。

CVE-2021-39135 厂商安全公告 (3)

同批安全公告 · npm · 2021-08-31 · 共 5 条

CVE-2021-377018.2 HIGHnode-tar 后置链接漏洞
CVE-2021-377128.2 HIGHnode-tar 后置链接漏洞
CVE-2021-377138.2 HIGHnode-tar 路径遍历漏洞
CVE-2021-391348.2 HIGHNPM arborist 后置链接漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2021-39135

暂无评论


发表评论