CVE-2023-30585
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2023
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Node
- Vendor
- NodeJS
- Product
- Node
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4.0 | affected | semver | 4.* | Unavailable | None listed |
| 5.0 | affected | semver | 5.* | Unavailable | None listed |
| 6.0 | affected | semver | 6.* | Unavailable | None listed |
| 7.0 | affected | semver | 7.* | Unavailable | None listed |
| 8.0 | affected | semver | 8.* | Unavailable | None listed |
| 9.0 | affected | semver | 9.* | Unavailable | None listed |
| 10.0 | affected | semver | 10.* | Unavailable | None listed |
| 11.0 | affected | semver | 11.* | Unavailable | None listed |
| 12.0 | affected | semver | 12.* | Unavailable | None listed |
| 13.0 | affected | semver | 13.* | Unavailable | None listed |
| 14.0 | affected | semver | 14.* | Unavailable | None listed |
| 15.0 | affected | semver | 15.* | Unavailable | None listed |
| 16.0 | affected | semver | 16.20.1 | Unavailable | None listed |
| 17.0 | affected | semver | 17.* | Unavailable | None listed |
| 18.0 | affected | semver | 18.16.1 | Unavailable | None listed |
| 19.0 | affected | semver | 19.* | Unavailable | None listed |
| 20.0 | affected | semver | 20.3.1 | Unavailable | None listed |