CVE-2019-16776

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2019-16776
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-16776.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-16776
Aliases
Related
Published
2019-12-13T01:15:10Z
Modified
2024-09-11T02:00:06Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/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 fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access 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"
}