7.7
High
CVE-2019-16775 Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write
Description
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It is possible for packages to create symlinks to files outside of thenode_modules folder through the bin field upon installation. A properly constructed entry in the package.json bin field would allow a package publisher to create a symlink pointing 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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| cli 6.13 | earliest → < 6.13.3 | 6.13.3 |
References
- openSUSE-SU-2020:0059 lists.opensuse.org
- FEDORA-2020-595ce5e3cc lists.fedoraproject.org
- RHEA-2020:0330 access.redhat.com
- RHSA-2020:0573 access.redhat.com
- RHSA-2020:0579 access.redhat.com
- RHSA-2020:0597 access.redhat.com
- RHSA-2020:0602 access.redhat.com
- www.oracle.com www.oracle.com
- www.oracle.com www.oracle.com
- github.com github.com
- blog.npmjs.org blog.npmjs.org
Timeline
- Published
- Last modified
Other CVEs of cli
The 5 CVEs of cli →
CVE-2026-0775
npm cli Incorrect Permission Assignment Local Privilege Escalation Vulnerability
7.0
High
CVE-2020-15095
Versions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability through log files
4.4
Medium
CVE-2019-16777
Versions of the npm CLI prior to 6.13.4 are vulnerable to an Arbitrary File Overwrite
7.7
High
CVE-2019-16776
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write
7.7
High