UNIX symbolic link following in arborist - CVE-2021-39135

 

UNIX symbolic link following in arborist - CVE-2021-39135

Published: March 11, 2022


Vulnerability identifier: #VU61257
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-39135
CWE-ID: CWE-61
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: npm Inc.
Affected software:
arborist

Detailed vulnerability description

The vulnerability allows a local attacker to escalate privileges on the system.

The vulnerability exists due to a symlink following issue. A local attacker can create a specially crafted symbolic link to a critical file on the system and overwrite it with privileges of the application.

Successful exploitation of this vulnerability may result in privilege escalation.


How to mitigate CVE-2021-39135

Install updates from vendor's website.

Sources