CVE catalog

CVE-2023-30585

nodejs: CVE-2023-30585

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:O/RC:C
Published
Source
[NVD] · [CVE record]
EPSS
1.47% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannodejssid24.22.1+dfsg+~cs24.19.2-1not affected
Debiannodejsforky24.21.0+dfsg+~cs24.13.4-1not affected
Debiannodejstrixie20.19.2+dfsg-1+deb13u2not affected
Debiannodejstrixie-security20.19.2+dfsg-1+deb13u3not affected
Debiannodejsbookworm18.20.4+dfsg-1~deb12u2not affected
Debiannodejsbookworm-security18.20.4+dfsg-1~deb12u3not affected
Cpenode.jsNot reported20.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebiannodejssourcesidNot affectedunimportantNot reportedNot reported
DebiannodejssourceforkyNot affectedunimportantNot reportedNot reported
DebiannodejssourcetrixieNot affectedunimportantNot reportedNot reported
DebiannodejssourcebookwormNot affectedunimportantNot reportedNot reported
Cpenode.jscpeNot reported20.3.1Not reportedNVD-CVE-2023-30585Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References