{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-16777","published":"2019-12-13T01:15:11.007000Z","last_modified":"2026-06-17T02:22:46.910000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22","CWE-269"],"cpes":[{"criteria":"cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:*","part":"a","vendor":"npmjs","product":"npm","version_end_excluding":"6.13.4"},{"criteria":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","part":"o","vendor":"opensuse","product":"leap","version":"15.1"},{"criteria":"cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*","part":"a","vendor":"oracle","product":"graalvm","version":"19.3.0.2"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"31"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux","version":"8.0"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_eus","version":"8.1"}],"cpes_truncated":false,"vendors":["npmjs","opensuse","oracle","fedoraproject","redhat"],"products":["npmjs/npm","opensuse/leap","oracle/graalvm","fedoraproject/fedora","redhat/enterprise_linux","redhat/enterprise_linux_eus"],"epss":{"score":0.02043,"percentile":0.81835,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4328-8hgf-7wjr","ecosystem":"npm","name":"npm","purl":"pkg:npm/npm","ranges":[{"introduced":"0","fixed":"6.13.4"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2019-16777/","html_en":"/en/cve/CVE-2019-16777/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-16777","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-16777"},"untrusted":{"vendor_name":"Npmjs","product_name":"Npm","desc_en":"Versions 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.","affected":[{"untrusted_vendor":"npm","untrusted_product":"cli","versions":[]}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHEA-2020:0330","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0573","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0579","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0597","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0602","tags":["Third Party Advisory"]},{"url":"https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli","tags":["Third Party Advisory"]},{"url":"https://github.com/npm/cli/security/advisories/GHSA-4328-8hgf-7wjr","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/","tags":[]},{"url":"https://security.gentoo.org/glsa/202003-48","tags":["Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujan2020.html","tags":["Third Party Advisory"]}]}}