CVE-2023-30585

A vulnerability has been identified in the Node.js (.msi version) installation process, specifically affecting Windows users who install Node.js using the .msi installer. This vulnerability emerges during the repair operation, where the "msiexec.exe" process, running under the NT AUTHORITY\SYSTEM context, attempts to read the %USERPROFILE% environment variable from the current user's registry. The issue arises when the path referenced by the %USERPROFILE% environment variable does not exist. In such cases, the "msiexec.exe" process attempts to create the specified path in an unsafe manner, potentially leading to the creation of arbitrary folders in arbitrary locations. The severity of this vulnerability is heightened by the fact that the %USERPROFILE% environment variable in the Windows registry can be modified by standard (or "non-privileged") users. Consequently, unprivileged actors, including malicious entities or trojans, can manipulate the environment variable key to deceive the privileged "msiexec.exe" process. This manipulation can result in the creation of folders in unintended and potentially malicious locations. It is important to note that this vulnerability is specific to Windows users who install Node.js using the .msi installer. Users who opt for other installation methods are not affected by this particular issue.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*

History

02 Dec 2023, 04:39

Type Values Removed Values Added
First Time Nodejs node.js
Nodejs
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
References () https://nodejs.org/en/blog/vulnerability/june-2023-security-releases - () https://nodejs.org/en/blog/vulnerability/june-2023-security-releases - Vendor Advisory
CWE NVD-CWE-noinfo

28 Nov 2023, 02:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-11-28 02:15

Updated : 2023-12-10 15:26


NVD link : CVE-2023-30585

Mitre link : CVE-2023-30585

CVE.ORG link : CVE-2023-30585


JSON object : View

Products Affected

nodejs

  • node.js