VDB

CVE-2019-16775

CVE-2019-16775 PUBLISHED CVSS 7.7 HIGH

Unauthorized File Access in npm CLI before before version 6.13.3

Reported by github_m · Published December 13, 2019

npm is fixed in 6.13.3 (npm)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
npmnpm6.13.3
npmArch Linux6.13.4-1
npmnpmjs6.13.3
clinpm6.13.3

Risk scores

CVSS 3.1
7.7
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Affected products

VendorProductVersions
npmcli< 6.13.3
chainguardgitlab-rails-ce-18.6*
chainguardgitlab-rails-ce-18.4*
chainguardgitlab-rails-ee-fips-17.0*
chainguardcommercial-gitlab-rails-ee-fips-19.4*
chainguardgitlab-rails-ce-19.3*
chainguardgitlab-rails-ce-fips-18.7*
chainguardgitlab-rails-ce-fips-18.3*
chainguardgitlab-rails-ee-fips-17.1*
chainguardgitlab-rails-ce-fips-19.4*
chainguardgitlab-rails-ce-fips-19.3*
chainguardgitlab-rails-ee-17.0*
chainguardgitlab-rails-ce-fips-18.6*
chainguardgitlab-rails-ce-fips-18.11*
chainguardgitlab-rails-ce-18.11*
chainguardgitlab-rails-ce-fips-18.10*
chainguardgitlab-rails-ee-fips-17.10*
chainguardgitlab-rails-ce-fips-18.5*
chainguardgitlab-rails-ee-17.11*
chainguardgitlab-rails-ce-19.1*

…and 48 more

Timeline

  • Dec 13, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory (9 in total, the first dated here)
  • Aug 6, 2026 Distribution Patch (5 in total, the first dated here)
  • Sep 13, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-16775
vulnetix vdb fixes CVE-2019-16775

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-16775/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›