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: 2.1 [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]
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

NPM

Remediation

Update to version 6.13.3.

NPM - update to 6.13.3

External References

Related Security Bulletins