CVE-2019-16777
No exploitation reported by the sources we read.
- Published2019-12-13
- WeaknessCWE-22 · CWE-269
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2019-12-1301:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 31.x | = 31 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.13 | < 6.13.4 | 6.13.4 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 15.1 | = 15.1 | no fix published | NVD |
3 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- code-serverWolfiall versions · fixed in 0and 1 other package
- code-serverChainguardall versions · fixed in 0and 67 other packages
- gitlab-rails-19.1MinimOSall versions · fixed in 0
- gitlab-rails-ce-assets-19.6Chainguardall versions · no fixed version listedand 5 other packages
- libuvMageia:7all versions · fixed in 1.34.2-1.mga7
- nodejsRed Hat:rhel_e4s:8.0::appstreamall versions · fixed in 1:10.19.0-1.module+el8.0.0+5738+1362a79cand 5 other packages
- nodejsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:12.14.1-1.module+el8.1.0+5466+30f75629and 4 other packages
- nodejsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:10.19.0-1.module+el8.1.0+5726+6ed65f8cand 5 other packages
46 more package ranges on OSV.dev
Vendor advisories
Red Hat Security Advisory: rh-nodejs8-nodejs security update
Red Hat Security Advisory: rh-nodejs12-nodejs security update
Red Hat Security Advisory: rh-nodejs10-nodejs security update
Red Hat Security Advisory: nodejs:10 security update
Red Hat Security Advisory: nodejs:10 security update
Fix
- Vendor fix Red Hat Product Security RHSA-2020:2625 · 62 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- CNACVSS 3.17.7known since 2026-10-23
- NVDCVSS 3.16.5read 2026-10-23
- NVDCVSS 2.05.5read 2026-10-23
- CNAweakness (CWE)CWE-22known since 2026-10-23
- NVDweakness (CWE)CWE-269read 2026-10-23
- FIRST EPSSEPSS score2.0 %2026-11-18
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2020-06-16
Identifiers
- CGA-238g-gvc7-v63rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2743-gvgv-v398same flawChainguard · CC-BY-NC-ND-4.0
- CGA-28fj-8g34-rrj9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2c5q-rcv3-rw8wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2c9g-prm4-6m8psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2ccj-q843-9gc8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2cmh-cjmv-3cx3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2jmq-4r46-9fjfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2rvv-74c4-69ggsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-33pf-754j-hhpgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-355h-7c7h-rwwhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-363f-g38g-gmmxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-377c-xrj4-4cp6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-39gx-vcqf-m63psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-39w5-v9g5-j2rcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3j8p-hghw-q2r9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3jvj-2v8h-rj97same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3mhj-h32m-f89qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3php-7qgp-xqg6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-43mr-82rf-2q3msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4h27-5c79-c7mqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4mcf-m53p-mj98same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4mcq-7v5x-pqpvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4qh9-p6hv-86pjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4rqr-rc57-cx78same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4wjc-hg2x-frwmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4xj2-584w-29j5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5388-4hr8-g6hgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-53vx-mrwq-4v6hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5c5q-xx5h-6rr6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5frw-w2rx-m34csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5j27-qggm-ff92same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5j7q-hr9q-8w7xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-65rw-8378-8pwwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-68m3-pw3f-gjm3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6fhh-87w9-6g9rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6g7q-7v76-h927same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6j2g-jwvx-jwqmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6x6f-fwp9-5v6qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-75rp-jcwm-8h97same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7g24-x424-w93hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7mq3-pphm-2px8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7v65-6328-hf76same flawChainguard · CC-BY-NC-ND-4.0
- CGA-85pr-5c7h-64c3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-88pw-g94p-r57rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-892m-hvhm-qwhmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8988-737m-c47fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8prp-xmcw-8mmqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8r8w-pc77-4wp5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-92fj-v34j-r3j2same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Published
- 2019-12-13
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-4328-8hgf-7wjr
Frequently asked questions
What is CVE-2019-16777?
Is CVE-2019-16777 actively exploited?
What is the CVSS score for CVE-2019-16777?
Running npm? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4328-8hgf-7wjr
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0