npm is vulnerable to arbitrary file overwrite. The package does not prevent existing globally-installed binaries from being overwritten by other package installations in /usr/local/bin
. This would allow the overwriting of binary files created from the first installation.
lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html
access.redhat.com/errata/RHEA-2020:0330
access.redhat.com/errata/RHSA-2020:0573
access.redhat.com/errata/RHSA-2020:0579
access.redhat.com/errata/RHSA-2020:0597
access.redhat.com/errata/RHSA-2020:0602
blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
github.com/npm/bin-links/pull/12
github.com/npm/cli/security/advisories/GHSA-x8qc-rrcw-4r46
github.com/npm/gentle-fs/pull/7
lists.fedoraproject.org/archives/list/[email protected]/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
www.npmjs.com/advisories/1437
www.oracle.com/security-alerts/cpujan2020.html