Patchwire CVEs, their patch status, and feeds to follow them

CVE-2023-30585

Fixed in a distro release EPSS 1%

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.

Published 2023-11-28 · CVE record · OSV

Products: NodeJS Node

Distro releases

ReleasePackageFixed in
Chainguardnodejs-1616.20.1-r0
Chainguardnodejs-16-doc16.20.1-r0
Chainguardnodejs-1818.16.1-r0
Chainguardnodejs-18-doc18.16.1-r0
Chainguardnodejs-2020.3.1-r0
Chainguardnodejs-20-doc20.3.1-r0
SUSE Enterprise Storage 7.1nodejs1616.20.1-150300.7.24.2
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOSnodejs1616.20.1-150300.7.24.2
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSSnodejs1616.20.1-150300.7.24.2
SUSE Linux Enterprise Module for Web and Scripting 12nodejs1616.20.1-8.30.1
SUSE Linux Enterprise Module for Web and Scripting 12nodejs1818.16.1-8.9.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4nodejs1616.20.1-150400.3.21.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP4nodejs1818.16.1-150400.9.9.1
SUSE Linux Enterprise Module for Web and Scripting 15 SP5nodejs1818.16.1-150400.9.9.1
SUSE Linux Enterprise Server 15 SP3-LTSSnodejs1616.20.1-150300.7.24.2
SUSE Linux Enterprise Server for SAP Applications 15 SP3nodejs1616.20.1-150300.7.24.2
SUSE Manager Server 4.2nodejs1616.20.1-150300.7.24.2
Wolfinodejs-1616.20.1-r0
Wolfinodejs-16-doc16.20.1-r0
Wolfinodejs-1818.16.1-r0
Wolfinodejs-18-doc18.16.1-r0
Wolfinodejs-2020.3.1-r0
Wolfinodejs-20-doc20.3.1-r0
openSUSE Leap 15.4nodejs1616.20.1-150400.3.21.1
openSUSE Leap 15.4nodejs1818.16.1-150400.9.9.1
openSUSE Leap 15.5nodejs1818.16.1-150400.9.9.1
openSUSE Tumbleweednodejs2020.3.1-1.1