Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-2A3588B4-AB12-11EA-A051-001B217B3468 (CVE-2019-16776): NPM -- Multiple vulnerabilities

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-2A3588B4-AB12-11EA-A051-001B217B3468 (CVE-2019-16776): NPM -- Multiple vulnerabilities

Severity
6
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:N)
Published
12/13/2019
Created
06/12/2020
Added
06/11/2020
Modified
06/11/2020

Description

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.

Solution(s)

  • freebsd-upgrade-package-npm

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;