CVE-2019-16777

Summary

CVECVE-2019-16777
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-12-13 01:15:00 UTC
Updated2023-11-07 03:05:00 UTC
DescriptionVersions 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.

Risk And Classification

Problem Types: CWE-269

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Cli Project Cli All All All All
Application Cli Project Cli All All All All
Operating System Fedoraproject Fedora 31 All All All
Operating System Fedoraproject Fedora 31 All All All
Application Npmjs Npm All All All All
Operating System Opensuse Leap 15.1 All All All
Operating System Opensuse Leap 15.1 All All All
Application Oracle Graalvm 19.3.0.2 All All All
Application Oracle Graalvm 19.3.0.2 All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux Eus 8.1 All All All
Operating System Redhat Enterprise Linux Eus 8.1 All All All

References

ReferenceSourceLinkTags
Arbitrary File Overwrite · Advisory · npm/cli · GitHub CONFIRM github.com Third Party Advisory
The npm Blog — Binary Planting with the npm CLI MISC blog.npmjs.org Third Party Advisory
[SECURITY] Fedora 31 Update: nodejs-12.14.1-3.fc31 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Node.js: Multiple vulnerabilities (GLSA 202003-48) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Oracle Critical Patch Update Advisory - January 2020 MISC www.oracle.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
[SECURITY] Fedora 31 Update: nodejs-12.14.1-3.fc31 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[security-announce] openSUSE-SU-2020:0059-1: important: Security update SUSE lists.opensuse.org Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 296077 Oracle Solaris 11.4 Support Repository Update (SRU) 18.4.0 Missing (CPUJAN2020)
  • 940003 AlmaLinux Security Update for nodejs:10 (ALSA-2020:0579)
  • 960732 Rocky Linux Security Update for nodejs:10 (RLSA-2020:0579)
  • 983066 Nodejs (npm) Security Update for npm (GHSA-4328-8hgf-7wjr)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report