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.
CVE-2019-16777
This high-severity CVE scores 7.7 under NVD CVSS v3. EPSS exploit probability: 2.0%, top 22% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.7
- EG Score
- 7.7(medium)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity77% × 45%Exploitation2% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 2%
- EPSS %ILE
- 80%
- KEV
- Not listed
Published
December 13, 2019
Last Modified
November 21, 2024
References (22)
- security-advisories@githubhttp://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html
- security-advisories@githubhttps://access.redhat.com/errata/RHEA-2020:0330
- security-advisories@githubhttps://access.redhat.com/errata/RHSA-2020:0573
- security-advisories@githubhttps://access.redhat.com/errata/RHSA-2020:0579
- security-advisories@githubhttps://access.redhat.com/errata/RHSA-2020:0597
- security-advisories@githubhttps://access.redhat.com/errata/RHSA-2020:0602
- security-advisories@githubhttps://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
- security-advisories@githubhttps://github.com/npm/cli/security/advisories/GHSA-4328-8hgf-7wjr
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
- security-advisories@githubhttps://security.gentoo.org/glsa/202003-48
- security-advisories@githubhttps://www.oracle.com/security-alerts/cpujan2020.html
- af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHEA-2020:0330
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2020:0573
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2020:0579
Patch Availability(6)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | rh-nodejs8-nodejs-0:8.17.0-2.el7 | 2020-06-19 | redhat |
| redhat | rh-nodejs12-nodejs-0:12.16.1-1.el7 | 2020-02-25 | redhat |
| redhat | nodejs:10-8010020200213140254.c27ad7f8 | 2020-02-25 | redhat |
| redhat | rh-nodejs10-nodejs-0:10.19.0-1.el7 | 2020-02-25 | redhat |
| redhat | nodejs:10-8000020200214110450.f8e95b4e | 2020-02-24 | redhat |
| redhat | nodejs:12-8010020200116150415.c27ad7f8 | 2020-02-04 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| npm | — | 6.13.4+ds-2 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| npm | — | 6.13.4+ds-2 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| npm | — | 6.13.4+ds-2 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| npm | — | 6.13.4+ds-2 | — |
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| npm | — | 6.13.4 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(6)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHEA-2020:0330LOW2019-12-12
RHEA-2020:0330 — Low
- Red HatRHSA-2020:0573LOW2019-12-12
RHSA-2020:0573 — Low
- Red HatRHSA-2020:0579LOW2019-12-12
RHSA-2020:0579 — Low
- Red HatRHSA-2020:0597LOW2019-12-12
RHSA-2020:0597 — Low
- Red HatRHSA-2020:0602LOW2019-12-12
RHSA-2020:0602 — Low
- Red HatRHSA-2020:2625LOW2019-12-12
RHSA-2020:2625 — Low
Data Freshness Timeline
(refreshed 5× in last 7d / 25× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 140 total refreshes for this CVE.
- 2026-09-18 19:22 UTCEPSS rescore
- 2026-09-17 19:22 UTCEPSS rescore
- 2026-09-16 14:04 UTCEPSS rescore
- 2026-09-15 03:05 UTCEPSS rescore
- 2026-09-13 16:42 UTCEPSS rescore
- 2026-09-12 14:56 UTCEPSS rescore
- 2026-09-11 14:48 UTCEPSS rescore
- 2026-09-11 09:32 UTCEPSS rescore
- 2026-09-07 23:21 UTCOSV refresh
- 2026-09-07 15:57 UTCEPSS rescore
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-05 15:24 UTCEPSS rescore
- 2026-09-04 13:56 UTCEPSS rescore
- 2026-09-02 14:07 UTCEPSS rescore
- 2026-09-01 03:32 UTCEPSS rescore
- 2026-08-30 19:13 UTCEPSS rescore
- 2026-08-30 01:18 UTCEPSS rescore
- 2026-08-28 21:36 UTCEPSS rescore
- 2026-08-27 14:21 UTCEPSS rescore
- 2026-08-26 14:42 UTCEPSS rescore
- 2026-08-25 13:45 UTCEPSS rescore
- 2026-08-24 14:11 UTCEPSS rescore
- 2026-08-21 23:45 UTCEPSS rescore
- 2026-08-21 08:44 UTCOSV refresh
- 2026-08-20 22:51 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-19 17:00 UTCEPSS rescore
- 2026-08-18 13:44 UTCEPSS rescore
- 2026-08-17 13:43 UTCEPSS rescore
- 2026-08-16 14:52 UTCEPSS rescore
- 2026-08-16 02:10 UTCEPSS rescore
- 2026-08-15 01:26 UTCEPSS rescore
- 2026-08-12 13:47 UTCEPSS rescore
- 2026-08-09 13:43 UTCEPSS rescore
- 2026-08-08 16:33 UTCEPSS rescore
- 2026-08-07 16:23 UTCEPSS rescore
- 2026-08-06 13:43 UTCEPSS rescore
- 2026-08-05 21:54 UTCOSV refresh
- 2026-08-05 19:13 UTCEPSS rescore
- 2026-08-04 15:05 UTCEPSS rescore
- 2026-08-02 02:23 UTCEPSS rescore
- 2026-08-01 04:12 UTCEPSS rescore
- 2026-07-30 16:24 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-28 15:32 UTCEPSS rescore
- 2026-07-26 14:51 UTCEPSS rescore
- 2026-07-25 14:14 UTCEPSS rescore
- 2026-07-24 14:14 UTCEPSS rescore
- 2026-07-24 14:14 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:41 UTCEG score recompute
- 2026-07-22 22:21 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 00:08 UTCOSV refresh
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:01 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-02 15:21 UTCOSV refresh
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-1009EG 10.0EPSS p93HIGH
- CVE-2001-0554EG 10.0EPSS p99HIGH
- CVE-2001-1162EG 10.0EPSS p96HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p91HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
Same CWE
10 shownCWE-22 · CWE-269
- CVE-2001-1586EG 10.0EPSS p95HIGH
- CVE-2006-5487EG 10.0EPSS p90HIGH
- CVE-2003-5001NVD 5.3EG 9.8CRITICAL
- CVE-2006-4243EG 9.8CRITICAL
- CVE-2004-0847EG 9.8EPSS p99CRITICAL
- CVE-2002-2269EG 9.4HIGH
- CVE-2005-2619EG 9.3HIGH
- CVE-2004-0273EG 9.3EPSS p90HIGH
- CVE-2002-0367NVD 7.8EG 9.0 KEVEPSS p92CRITICAL
- CVE-2004-1364EG 8.5EPSS p96HIGH
Frequently asked(5)
What is CVE-2019-16777?
When was CVE-2019-16777 disclosed?
Is CVE-2019-16777 actively exploited?
What is the CVSS score of CVE-2019-16777?
How do I remediate CVE-2019-16777?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2019-16777
Is Your Infrastructure Affected by CVE-2019-16777?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.