Vulnerability
CVE-2019-16775
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.
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-25xf-xqxv-3fhr
- CGA-2g8q-qjhf-365f
- CGA-2hq5-q7xq-gmmr
- CGA-2r3c-xv6j-f2m2
- CGA-2rc6-33xf-wf9c
- CGA-2wx6-wpx9-9m6c
- CGA-2xgh-p6h2-83px
- CGA-2xjg-wg2m-32qr
- CGA-329j-ww9q-r54v
- CGA-32h8-68p3-gpp5
- CGA-34x9-55wh-hjx5
- CGA-3h7w-r898-pgrx
- CGA-3q48-wjvm-hf5p
- CGA-3qjm-cx2q-23fp
- CGA-3whr-58h6-57wf
- CGA-433r-gx48-53f5
- CGA-4767-6xrx-v6v9
- CGA-47hv-9mvm-c7pv
- CGA-48pc-w2mh-9gg8
- CGA-4965-hg92-9cw7
- CGA-49fm-vh64-vw49
- CGA-4c3h-x7gx-rgjx
- CGA-4g5h-j229-66rq
- CGA-4g6w-cxrh-5qh9
- CGA-4wqv-hgw4-4cmj
- CGA-4wvp-x3pr-6gpr
- CGA-52pq-whcf-82gr
- CGA-5368-6m87-5p96
- CGA-5446-frmx-g2m4
- CGA-557j-26x6-qpq8
- CGA-57w2-5gpw-gjqp
- CGA-5c5g-rgw5-fv7f
- CGA-5j58-3xcp-c299
- CGA-5qjh-v46c-wmmw
- CGA-5vwp-46m2-mpg8
- CGA-638q-q88g-5m74
- CGA-65jx-9928-2ff4
- CGA-66m2-237v-q47w
- CGA-6gxj-222c-9hp6
- CGA-6hjv-8cm8-438f
- CGA-6j3m-pf88-cxr3
- CGA-6jpf-mmm5-2jfw
- CGA-6jrv-6rh8-2fw4
- CGA-6mjh-cxv6-9hrf
- CGA-6q44-3jgc-99f4
- CGA-6rjh-cpxx-xrwq
- CGA-74xg-cm3r-p27w
- CGA-75x2-98fv-35qp
- CGA-7h4r-fjq8-3wxw
- CGA-7m4x-m43h-xv2r
- CGA-7m7x-pph9-xc9r
- CGA-83hx-r8r3-c8wg
- CGA-862f-m66h-4qxw
- CGA-88wr-xf54-5fq7
- CGA-8cfp-qh34-f257
- CGA-8f4f-cpq7-jg4j
- CGA-8jr2-9pqx-qgjq
- CGA-8v52-phx5-9xh3
- CGA-94m5-7cpp-77xh
- CGA-95rr-82rc-c8rx
- CGA-96g5-hvcg-3qfm
- CGA-978x-52j2-r33j
- CGA-9c79-rmx6-j2h8
- CGA-9p63-3x4m-2q9w
- CGA-9pwc-hm5f-6fxq
- CGA-9v66-8739-x9wf
- CGA-c48h-hj9m-x6wq
- CGA-c6h7-vxf8-rrf5
- CGA-c7jv-hcrr-3c35
- CGA-cc92-mc2h-r5f6
- CGA-ccg8-w5c9-pvg3
- CGA-cfhv-gvmx-5wmg
- CGA-cj3c-c736-mg5m
- CGA-cm4q-jjxx-39f7
- CGA-cm8w-fxq6-6f5v
- CGA-cmhw-gp58-c5vm
- CGA-cpjh-6xvr-vrrg
- CGA-cr4g-jh86-wrwm
- CGA-f2fw-3rh7-8r7f
- CGA-f9v3-c78r-xxjh
- CGA-fg95-4hp3-h4r6
- CGA-fh88-828q-qv66
- CGA-fhhf-prpx-qfp7
- CGA-fm67-x5c5-q5p9
- CGA-fq87-4fh9-2pqr
- CGA-fr2m-m7pf-vwhg
- CGA-g2hw-xgww-v6g2
- CGA-g55m-jx35-jj98
- CGA-g7ch-7fpq-v43c
- CGA-gfqr-7wqx-3ggv
- CGA-gpx7-g978-2xqq
- CGA-h7c9-jmgv-hf6j
- CGA-hfcr-w768-h9gr
- CGA-hgx2-gpc4-c5cc
- CGA-hhq2-f7x9-ff89
- CGA-j4p8-jqh7-3mfp
- CGA-jcqx-qcgf-68x2
- CGA-jfvc-mchv-vr52
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2019-16775.
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-m6cx-g6qm-p2cx
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://www.oracle.com/security-alerts/cpuoct2021.html