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
- 78.5%
- 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
(1 across 1 ecosystem)
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 14× in last 7d / 48× 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.
- 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
Show 67 moreShow fewer
- 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
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 12:43 UTCOSV refresh
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:19 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 10:33 UTCEG score recompute
- 2026-05-27 10:33 UTCVendor advisory
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 22:56 UTCOSV refresh
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-269 · CWE-22
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.