CVE-2019-16775

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-16775
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16775.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-16775
Aliases
Related
Published
2019-12-13T01:15:10Z
Modified
2024-09-18T01:00:20Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / npm

Package

Name
npm
Purl
pkg:deb/debian/npm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.13.4+ds-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / npm

Package

Name
npm
Purl
pkg:deb/debian/npm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.13.4+ds-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / npm

Package

Name
npm
Purl
pkg:deb/debian/npm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.13.4+ds-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}