CVE-2019-16776

Summary

CVECVE-2019-16776
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.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.

Risk And Classification

Problem Types: CWE-22

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
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
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Arbitrary File Write · Advisory · npm/cli · GitHub CONFIRM github.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)
  • 982705 Nodejs (npm) Security Update for npm (GHSA-x8qc-rrcw-4r46)
© 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