Lucene search

K
osvGoogleOSV:GHSA-V3JV-WRF4-5845
HistorySep 01, 2020 - 4:03 p.m.

Local Privilege Escalation in npm

2020-09-0116:03:34
Google
osv.dev
10

EPSS

0

Percentile

5.1%

Affected versions of npm use predictable temporary file names during archive unpacking. If an attacker can create a symbolic link at the location of one of these temporary file names, the attacker can arbitrarily write to any file that the user which owns the npm process has permission to write to, potentially resulting in local privilege escalation.

Recommendation

Update to version 1.3.3 or later.