Path traversal in NPM - #VU23904

 

Path traversal in NPM - #VU23904

Published: December 12, 2019 / Updated: January 3, 2020


Vulnerability identifier: #VU23904
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: isaacs
Affected software:
NPM

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within package.json files. A remote attacker can overwrite arbitrary files on the system outside of the intended node_modules folder through the bin field.


Remediation

Update to version 6.13.3.

Sources