#VU77601 Untrusted search path in Node.js - CVE-2023-30585

 

#VU77601 Untrusted search path in Node.js - CVE-2023-30585

Published: June 21, 2023


Vulnerability identifier: #VU77601
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-30585
CWE-ID: CWE-426
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
Node.js
Software vendor:
Node.js Foundation

Description

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

The vulnerability exists due to the way Node.js (.msi version) installation process handles a missing %USERPROFILE% environment variable. If the variable is not set, the .msi installer will try to include a current working directory into the search path and will libraries in an unsafe manner. A local user can place a malicious file on the victim's system and execute arbitrary code with elevated privileges.

The vulnerability affects Windows installators only.



Remediation

Install updates from vendor's website.

External links