7.7

CVE-2019-16777: Arbitrary File Overwrite in npm CLI

Modified
AliasesUBUNTU-CVE-2019-16777DEBIAN-CVE-2019-16777CGA-2743-gvgv-v398
Published 13-12-2019Last modified 05-08-2024

Vulnerability summary

CVE-2019-16777 is a high (CVSS 7.7) vulnerability in fedoraproject fedora. EPSS estimates a 2.13% chance of exploitation in the next 30 days, higher than 81.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.7/10
010
High · v3.1 (CVE.org)
EPSS score
2.13%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 13 · Related 15

Timeline

  1. 13-12-2019
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 7 sources · 2 versions

EPSS trend

Probability

2.13%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.13% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard74 products
  • code-serverAll versions (No fix recorded)
  • code-server-compatAll versions (No fix recorded)
  • commercial-gitlab-rails-ee-assets-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-assets-19.2All versions (No fix recorded)
  • commercial-gitlab-rails-ee-assets-19.3All versions (No fix recorded)
Npm2 products
  • cli≥ < 6.13.4, < 6.13.4
  • npm< 6.13.4
Redhat2 products
Wolfi2 products
  • code-serverAll versions (No fix recorded)
  • code-server-compatAll versions (No fix recorded)
Debian1 product
  • npm< 6.13.4+ds-2
Fedoraproject1 product
Npmjs1 product
Opensuse1 product
Oracle1 product
Ubuntu1 product
  • npmAll versions (No fix recorded)

10 vendors · 86 products

References

19 links
Show all 19 references