Vulnerability
CVE-2019-16777
Versions of the npm CLI prior to 6.13.4 are vulnerable to an Arbitrary File Overwrite. It fails to prevent existing globally-installed binaries to be overwritten by other package installations. For example, if a package was installed globally and created a serve binary, any subsequent installs of packages that also create a serve binary would overwrite the previous serve binary. This behavior is still allowed in local installations and also through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
184 advisories report this vulnerability, across 11 ecosystems.
Advisories
-
ALEA-2020:0330
nodejs:12 enhancement update
-
ALSA-2020:0579
Important: nodejs:10 security update
- CGA-238g-gvc7-v63r
- CGA-2743-gvgv-v398
- CGA-28fj-8g34-rrj9
- CGA-2c5q-rcv3-rw8w
- CGA-2c9g-prm4-6m8p
- CGA-2ccj-q843-9gc8
- CGA-2cmh-cjmv-3cx3
- CGA-2jmq-4r46-9fjf
- CGA-2rvv-74c4-69gg
- CGA-33pf-754j-hhpg
- CGA-355h-7c7h-rwwh
- CGA-363f-g38g-gmmx
- CGA-377c-xrj4-4cp6
- CGA-39gx-vcqf-m63p
- CGA-39w5-v9g5-j2rc
- CGA-3j8p-hghw-q2r9
- CGA-3jvj-2v8h-rj97
- CGA-3mhj-h32m-f89q
- CGA-3php-7qgp-xqg6
- CGA-43mr-82rf-2q3m
- CGA-4h27-5c79-c7mq
- CGA-4mcf-m53p-mj98
- CGA-4mcq-7v5x-pqpv
- CGA-4qh9-p6hv-86pj
- CGA-4rqr-rc57-cx78
- CGA-4wjc-hg2x-frwm
- CGA-4xj2-584w-29j5
- CGA-5388-4hr8-g6hg
- CGA-53vx-mrwq-4v6h
- CGA-5c5q-xx5h-6rr6
- CGA-5frw-w2rx-m34c
- CGA-5j27-qggm-ff92
- CGA-5j7q-hr9q-8w7x
- CGA-65rw-8378-8pww
- CGA-68m3-pw3f-gjm3
- CGA-6fhh-87w9-6g9r
- CGA-6g7q-7v76-h927
- CGA-6j2g-jwvx-jwqm
- CGA-6x6f-fwp9-5v6q
- CGA-74v9-864x-4964
- CGA-75rp-jcwm-8h97
- CGA-7984-9vcj-rchq
- CGA-7g24-x424-w93h
- CGA-7mq3-pphm-2px8
- CGA-7v65-6328-hf76
- CGA-85pr-5c7h-64c3
- CGA-88pw-g94p-r57r
- CGA-892m-hvhm-qwhm
- CGA-8988-737m-c47f
- CGA-8prp-xmcw-8mmq
- CGA-8r8w-pc77-4wp5
- CGA-92fj-v34j-r3j2
- CGA-93qp-45j9-mcvw
- CGA-94wc-wrc4-ppxc
- CGA-99qh-hj8w-crf8
- CGA-99x3-q595-2xcc
- CGA-9cc5-298h-gx3r
- CGA-c8f9-j25v-7c8x
- CGA-c9pw-pw8f-cvx5
- CGA-chv7-j4cc-mmfh
- CGA-cvq7-rcc5-xxq2
- CGA-f2g7-h65r-3475
- CGA-f36q-78mc-298c
- CGA-f5pp-ffg4-74c3
- CGA-fh2w-4pp2-358h
- CGA-fhmj-xp6w-8792
- CGA-fqr9-9qqp-vvhg
- CGA-fxhf-27j2-r739
- CGA-g685-cg3h-m62p
- CGA-g8hq-6p53-vhxw
- CGA-g98w-p3q4-c7qv
- CGA-g9m2-frp2-4v7h
- CGA-gc9h-qhp5-pqvw
- CGA-gcjj-vp72-2ccg
- CGA-ggmf-pf5m-c5v7
- CGA-ghr8-r3x3-ffrh
- CGA-gjq8-w63v-hj33
- CGA-gpj9-rw62-39fp
- CGA-gq3j-56jj-qvh9
- CGA-gx66-vxq3-4q6h
- CGA-h38f-9v8p-j79q
- CGA-h492-vg9v-67jg
- CGA-h763-m2cw-3mwm
- CGA-hc5j-j97j-g8gw
- CGA-hc5v-j3m2-p2hx
- CGA-hggf-rwgp-vfwq
- CGA-hgw4-7wvv-7hm8
- CGA-hm64-jg3c-2ghp
- CGA-hm6g-hcjj-vrw7
- CGA-hrv5-fcx2-r2qq
- CGA-j24r-gjxp-7vvf
- CGA-j2f6-rcvq-fhh6
- CGA-j2pv-5pwc-cq32
- CGA-j78w-284x-6jrh
- CGA-j85w-crx6-5c4j
- CGA-j88c-rpwp-c76c
- CGA-j956-84wp-gf29
- CGA-jh2g-wqxj-wgwv
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2019-16777.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html
- https://access.redhat.com/errata/RHEA-2020:0330
- https://access.redhat.com/errata/RHSA-2020:0573
- https://access.redhat.com/errata/RHSA-2020:0579
- https://access.redhat.com/errata/RHSA-2020:0597
- 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-4328-8hgf-7wjr
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
- https://security.gentoo.org/glsa/202003-48
- https://www.oracle.com/security-alerts/cpujan2020.html