Live threats

All CVEs / Redhat

CVE-2019-16775Redhat Enterprise Linux

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
Yes
Published
Dec 13, 2019
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-61, CWE-59
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It is possible for packages to create symlinks to files outside of thenode_modules folder through the bin field upon installation. A properly constructed entry in the package.json bin field would allow a package publisher to create a symlink pointing to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.

Original NVD text.

What to do

  1. Apply the vendor's security update for Enterprise Linux.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm npm < 6.13.3 6.13.3 npm install npm@6.13.3

Per OSV / GitHub Advisories (GHSA-m6cx-g6qm-p2cx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatenterprise_linux8.0
redhatenterprise_linux_eus8.1
npmjsnpm< 6.13.3
opensuseleap15.1
oraclegraalvm19.3.0.2
oraclegraalvm20.3.3
oraclegraalvm21.2.2
fedoraprojectfedora31

Official sources

References

Links published by the sources. Open them with care.