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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2019-16776— Unauthorized File Access in npm CLI before before version 6.13.3

Quick assessment

Affected
npm cli
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.

npm CLI是美国npm公司的一款软件包管理器。 npm CLI 6.13.3之前版本中存在路径遍历漏洞。攻击者可借助package.json文件的bin字段利用该漏洞访问node_modules文件夹之外的文件夹。

CVSS 7.7 · High EPSS 3.41% · P88
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2019-16776

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
Unauthorized File Access in npm CLI before before version 6.13.3
Source: CVE Program / CVE List V5
Vulnerability Description
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
npm CLI 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
npm CLI是美国npm公司的一款软件包管理器。 npm CLI 6.13.3之前版本中存在路径遍历漏洞。攻击者可借助package.json文件的bin字段利用该漏洞访问node_modules文件夹之外的文件夹。
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
npm cli < 6.13.3 ~ 6.13.3 -

II. Public POCs for CVE-2019-16776

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2019-16776

登录查看更多情报信息。

Vendor Advisories for CVE-2019-16776 (7)

Mailing List Discussions for CVE-2019-16776 (1)

Security Blog Posts for CVE-2019-16776 (1)

Same Patch Batch · npm · 2019-12-13 · 3 CVEs total

CVE-2019-16775 7.7 HIGH Unauthorized File Access in npm CLI before before version 6.13.3
CVE-2019-16777 7.7 HIGH Arbitrary File Overwrite in npm CLI

IV. Related Vulnerabilities

V. Comments for CVE-2019-16776

No comments yet


Leave a comment