CVE-2019-16776
published high CVSS 3.1 · 7.7Unauthorized File Access in npm CLI before before version 6.13.3
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| npm | — | cli< 6.13.3 to < 6.13.3 | Affected | Not stated | GitHub_M |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 1.18.3-1.module_el8.3.0+2023+d2377ea3 | ALSA-2020:0579 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 10b | Advisory build | 1:10.19.0-1.module+el8.1.0+5552+3cab52c0 | ELSA-2020-0579 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejsaarch64 | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 1.18.3-1.module_el8.3.0+2047+b07ac28e | ALSA-2020:0579 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2020:0579 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 17-3.module_el8.4.0+2224+b07ac28e | ALSA-2020:0579 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 17-3.module_el8.4.0+2521+c668cc9f | ALSA-2020:0579 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 10b | Advisory build | 1:10.19.0-1.module+el8.1.0+5552+3cab52c0 | ELSA-2020-0579 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 10b | Advisory build | 1:10.19.0-1.module+el8.1.0+5552+3cab52c0 | ELSA-2020-0579 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 10b | Advisory build | 1:10.19.0-1.module+el8.1.0+5552+3cab52c0 | ELSA-2020-0579 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 10b | Advisory build | 1:10.19.0-1.module+el8.1.0+5552+3cab52c0 | ELSA-2020-0579 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 10b | Advisory build | 1:10.19.0-1.module+el8.1.0+5552+3cab52c0 | ELSA-2020-0579 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 10b | Advisory build | 0:1.18.3-1.module+el8.1.0+5392+4d6b561f | ELSA-2020-0579 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 10b | Advisory build | 0:1.18.3-1.module+el8.1.0+5392+4d6b561f | ELSA-2020-0579 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 10b | Advisory build | 0:17-3.module+el8.1.0+5392+4d6b561f | ELSA-2020-0579 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 10b | Advisory build | 0:17-3.module+el8.1.0+5392+4d6b561f | ELSA-2020-0579 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 10b | Advisory build | 1:6.13.4-1.10.19.0.1.module+el8.1.0+5552+3cab52c0 | ELSA-2020-0579 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 10b | Advisory build | 1:6.13.4-1.10.19.0.1.module+el8.1.0+5552+3cab52c0 | ELSA-2020-0579 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejsppc64le | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejss390x | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejssrc | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejsx86_64 | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejs-debuginfoaarch64 | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejs-debuginfoppc64le | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejs-debuginfos390x | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejs-debuginfox86_64 | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejs-develaarch64 | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejs-develppc64le | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejs-devels390x | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejs-develx86_64 | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-nodejs-docsnoarch | Advisory build | 10.19.0-1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-npmaarch64 | Advisory build | 6.13.4-10.19.0.1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-npmppc64le | Advisory build | 6.13.4-10.19.0.1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-npms390x | Advisory build | 6.13.4-10.19.0.1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs10-npmx86_64 | Advisory build | 6.13.4-10.19.0.1.el7 | RHSA-2020:0597 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejsaarch64 | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejsppc64le | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejss390x | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejssrc | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejsx86_64 | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-debuginfoaarch64 | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-debuginfoppc64le | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-debuginfos390x | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-debuginfox86_64 | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-develaarch64 | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-develppc64le | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-devels390x | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-develx86_64 | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-docsnoarch | Advisory build | 12.16.1-1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-npmaarch64 | Advisory build | 6.13.4-12.16.1.1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-npmppc64le | Advisory build | 6.13.4-12.16.1.1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-npms390x | Advisory build | 6.13.4-12.16.1.1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-npmx86_64 | Advisory build | 6.13.4-12.16.1.1.el7 | RHSA-2020:0602 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsaarch64 | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsppc64le | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejss390x | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejssrc | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsx86_64 | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfoaarch64 | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfoppc64le | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfos390x | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfox86_64 | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develaarch64 | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develppc64le | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-devels390x | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develx86_64 | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-docsnoarch | Advisory build | 8.17.0-2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmaarch64 | Advisory build | 6.13.4-8.17.0.2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmppc64le | Advisory build | 6.13.4-8.17.0.2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npms390x | Advisory build | 6.13.4-8.17.0.2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmx86_64 | Advisory build | 6.13.4-8.17.0.2.el7 | RHSA-2020:2625 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoaarch64 | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfos390x | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfox86_64 | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfox86_64 | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceaarch64 | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceppc64le | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceppc64le | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsources390x | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourcex86_64 | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourcex86_64 | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develaarch64 | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develppc64le | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develppc64le | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-devels390x | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develx86_64 | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develx86_64 | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-devel-debuginfox86_64 | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-devel-debuginfox86_64 | Advisory build | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c | RHSA-2020:0579 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-docsnoarch | Advisory build | 1:10.19.0-1.module+el8.0.0+5738+1362a79c | RHSA-2020:0573 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| npm | cli | < 6.13.3 to < 6.13.3 (affected · custom) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
10- openSUSE-SU-2020:0059 http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html
- RHEA-2020:0330 https://access.redhat.com/errata/RHEA-2020:0330
- RHSA-2020:0573 https://access.redhat.com/errata/RHSA-2020:0573
- RHSA-2020:0579 https://access.redhat.com/errata/RHSA-2020:0579
- RHSA-2020:0597 https://access.redhat.com/errata/RHSA-2020:0597
- RHSA-2020:0602 https://access.redhat.com/errata/RHSA-2020:0602
- https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
- https://github.com/npm/cli/security/advisories/GHSA-x8qc-rrcw-4r46
- FEDORA-2020-595ce5e3cc https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
- https://www.oracle.com/security-alerts/cpujan2020.html
Provider assertions
2GitHub_M · cna
Unauthorized File Access in npm CLI before before version 6.13.3
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cd54e7f027e5ca925b56ab395c6b802294ebf8f4ef919557d734ab52cd1b6ee0
- Ingested
- 23 Sep 2026, 07:46:16 UTC
- Source record
- Official CVE record