#VU77601 Untrusted search path in Node.js - CVE-2023-30585
Published: June 21, 2023
Node.js
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.