cbcvebase.
CVE-2019-16777
published 2019-12-13

CVE-2019-16777: 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…

PriorityP337medium6.5CVSS 3.1
AVNACLPRLUINSUCNIHAN
EPSS
1.98%
78.2th percentile
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

13 ranges
VendorProductVersion rangeFixed in
debiannpm< npm 6.13.4+ds-2 (bookworm)npm 6.13.4+ds-2 (bookworm)
fedoraprojectfedora
npmcli< 6.13.46.13.4
npmjsnpm< 6.13.46.13.4
npmjsnpm>= 0 < 6.13.4+ds-26.13.4+ds-2
npmjsnpm>= 0 < 6.13.4+ds-26.13.4+ds-2
npmjsnpm>= 0 < 6.13.4+ds-26.13.4+ds-2
npmjsnpm>= 0 < 6.13.4+ds-26.13.4+ds-2
npmjsnpm>= 0 < 6.13.46.13.4
opensuseleap
oraclegraalvm
redhatenterprise_linux
redhatenterprise_linux_eus

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.5MEDIUMAV:N/AC:L/Au:S/C:N/I:P/A:P
osv6.5MEDIUM
vendor_debian7.7HIGH
vendor_redhat7.7HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.