CVE & CISA-KEV Catalog

CVE-2023-30585

HIGHEPSS 71th pctl
7.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
Node.jsWindows application
Affected:20.0.0 20.3.1Fixed in:20.3.1Node.js Foundation
Affected:16.0.0 16.20.1Fixed in:16.20.1Node.js Foundation
Affected:18.0.0 18.16.1Fixed in:18.16.1Node.js Foundation
Node.js (LTS)Windows application
Affected:16.0.0 16.20.1Fixed in:16.20.1Node.js Foundation
Affected:20.0.0 20.3.1Fixed in:20.3.1Node.js Foundation
Affected:18.0.0 18.16.1Fixed in:18.16.1Node.js Foundation

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploit Intelligence

1.47%probability of exploitation in 30 days
71stpercentile

Elevated risk: more likely to be exploited than 71% of all known CVEs.

References

Vendor Advisory1
Other references1
Embed a live status badge for CVE-2023-30585
CVE-2023-30585 severity badge

Markdown

[![CVE-2023-30585](https://tridentstack.com/cve/badge/CVE-2023-30585.svg)](https://tridentstack.com/cve/CVE-2023-30585)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-30585"><img src="https://tridentstack.com/cve/badge/CVE-2023-30585.svg" alt="CVE-2023-30585"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.