Vulnerability
CVE-2019-16776
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.
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-225f-5gvh-gh54
- CGA-2433-9f5r-rcjx
- CGA-24v2-q7p6-v5h6
- CGA-26mm-gh8p-3w6q
- CGA-2f4h-c777-gv73
- CGA-2hgf-p496-7f84
- CGA-2m32-jpq2-248f
- CGA-2php-q64x-5pj6
- CGA-2pwc-52c3-mhwx
- CGA-2rr7-7j3w-ghpv
- CGA-2xf5-9m96-qwh8
- CGA-32xv-8hq2-65p7
- CGA-36qr-99jj-66v7
- CGA-3794-vgj5-x29r
- CGA-37w9-p32f-pg37
- CGA-39xh-9g2j-92f4
- CGA-3cgr-64x4-crmp
- CGA-3ch9-qxqw-66v3
- CGA-3fxf-3xhg-pjhf
- CGA-3hqf-j6w3-3gj9
- CGA-3jw4-jjv3-43v6
- CGA-3qg6-p6pp-2j93
- CGA-3vc7-xjrg-42w2
- CGA-3wvr-g8g2-q7xp
- CGA-46wx-4448-w8j2
- CGA-482v-crfp-7g6q
- CGA-4cw4-x9pm-rg5w
- CGA-4gch-f9jp-rc33
- CGA-4hgf-cp3p-mgwv
- CGA-4xx2-9pmq-9c23
- CGA-524r-wvr6-8q85
- CGA-52v8-33hq-x9rg
- CGA-53jp-j85m-4pxw
- CGA-57qx-36m8-xj8w
- CGA-59pr-99r7-4wx7
- CGA-5cg3-7ww4-384f
- CGA-5cw3-87g7-28vh
- CGA-5p5p-22jr-2wxx
- CGA-5px7-mpqg-vq89
- CGA-5rgg-fc36-x257
- CGA-5wmf-8gwm-h5hq
- CGA-64pc-vvp9-jcjj
- CGA-6849-98hv-6x78
- CGA-69fw-32hw-p4wq
- CGA-6cw9-82xx-wjm4
- CGA-6ffc-jgpq-vm4q
- CGA-6m3q-6pf3-fhp2
- CGA-6ph3-j3x6-32q7
- CGA-6vf6-j2rx-wcrm
- CGA-6xfg-mg8p-pxg5
- CGA-7f6m-fhcc-m3gw
- CGA-7g39-j4h5-jr82
- CGA-7g5j-659r-gr2w
- CGA-7g78-69c9-7rp3
- CGA-7grp-86fh-m6f5
- CGA-7j7r-39q7-jj2w
- CGA-7m59-9q9r-8rfh
- CGA-7mmf-99j5-5xfj
- CGA-7p9v-w5j3-wp25
- CGA-7rw7-wpqc-v8m7
- CGA-7v6q-37hx-hp8r
- CGA-7w4v-qpp7-93hh
- CGA-82rh-p9fj-rrgc
- CGA-8326-xh2q-fvrj
- CGA-836v-x3jh-624p
- CGA-85cx-jm8c-3r7m
- CGA-872x-hg6c-fh3m
- CGA-8g6q-cvwr-v7jh
- CGA-8m72-xqx4-3hjf
- CGA-8prq-mph9-wqqq
- CGA-8r7c-7qj5-hc8c
- CGA-8v3p-hf49-2g8q
- CGA-8vv6-rvvx-xvg8
- CGA-998r-278g-2h65
- CGA-9v5f-cf3j-5g2p
- CGA-c4v2-387g-jvqp
- CGA-c6wh-854j-48hg
- CGA-c74v-4wr6-9hf9
- CGA-c7vp-g7f2-xq97
- CGA-cr6m-8653-qc29
- CGA-crqq-wc65-p69f
- CGA-cw7m-922f-8phw
- CGA-cwx9-qhv9-4rpq
- CGA-f476-3w5h-wh6m
- CGA-f882-5hf3-77j9
- CGA-ffg8-3h9v-6p2g
- CGA-fh4j-8qgv-w35h
- CGA-fqx9-q9h8-6vj7
- CGA-g2vp-fjj2-m924
- CGA-gf6j-2ppc-p2mh
- CGA-gjw5-x46q-55gj
- CGA-h36p-qgr3-c384
- CGA-h4h2-4xq3-5rhr
- CGA-h5p6-w469-vjrf
- CGA-hm3m-284v-hmm4
- CGA-hp7h-rr5r-6f38
- CGA-hxf7-hr86-gc4m
- CGA-j42g-2439-c897
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2019-16776.
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-x8qc-rrcw-4r46
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
- https://www.oracle.com/security-alerts/cpujan2020.html