CVE-2019-16776 — Path Traversal in CLI
Severity
8.1HIGHNVD
CNA7.7
EPSS
0.8%
top 26.22%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 13
Latest updateJan 15
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 inst…
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitability: 2.8 | Impact: 5.2
Affected Packages6 packages
Also affects: Fedora 31, Enterprise Linux 8.0, 8.1
🔴Vulnerability Details
4📋Vendor Advisories
3Debian▶
CVE-2019-16776: npm - Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Writ...↗2019
💬Community
3Bugzilla▶
CVE-2019-16776 npm: Arbitrary file write via constructed entry in the package.json bin field↗2020-01-06
Bugzilla▶
CVE-2019-16776 nodejs: npm: Arbitrary file write via constructed entry in the package.json bin field [epel-all]↗2020-01-06
Bugzilla▶
CVE-2019-16776 nodejs: Arbitrary file write via constructed entry in the package.json bin field [fedora-all]↗2020-01-06