Bug 1788301 (CVE-2019-16777) - CVE-2019-16777 npm: Global node_modules Binary Overwrite
Summary: CVE-2019-16777 npm: Global node_modules Binary Overwrite
Status: NEW
Alias: CVE-2019-16777
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1788303 1803078 1803079 1803152 1803153 1803154 1803682 1803683 1788302
Blocks: 1788313
TreeView+ depends on / blocked
Reported: 2020-01-06 22:07 UTC by Pedro Sampaio
Modified: 2020-02-17 09:07 UTC (History)
24 users (show)

Fixed In Version: npm 6.13.4, nodejs 8.17.0, nodejs 10.18.0, nodejs 12.14.0, nodejs 13.4.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Pedro Sampaio 2020-01-06 22:07:49 UTC
Versions of the npm CLI prior to 6.13.4 are vulnerable to a Global node_modules Binary Overwrite. It fails to prevent existing globally-installed binaries to be overwritten by other package installations.



Comment 1 Pedro Sampaio 2020-01-06 22:08:37 UTC
Created nodejs tracking bugs for this issue:

Affects: epel-all [bug 1788303]
Affects: fedora-all [bug 1788302]

Comment 2 Jason Shepherd 2020-01-08 03:32:49 UTC
Red Hat Quay versions up to v3.2.0 are affected by the use of yarn to install client side dependencies. Red Hat Quay uses the npm package from RHEL 7 so that will be updated once a fix for RHEL 7 is available.

Comment 3 Jason Shepherd 2020-01-09 00:03:56 UTC
The issue in Yarn was assigned CVE-2019-10773, Red Hat Quay is affected by that issue, not this one.

Comment 4 Ted (Jong Seok) Won 2020-01-17 01:02:37 UTC
This vulnerability is out of security support scope for the following products:
 * Red Hat Openshift Application Runtimes Node.js 8

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Note You need to log in before you can comment on or make changes to this bug.