Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2023-30585Published 11/28/2023

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.

Vendor advisory
CVSS7.5High

Overview

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
11/28/2023
Last modified
10/8/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
node.js
nodejs
≥ 16.0.0, < 16.20.1

Verify advisory

Source
node.js
nodejs
≥ 18.0.0, < 18.16.1

Verify advisory

Source
node.js
nodejs
≥ 20.0.0, < 20.3.1

Verify advisory

Source
Node
NodeJS
≥ 4.0, < 4.*

Verify advisory

Source
Node
NodeJS
≥ 5.0, < 5.*

Verify advisory

Source
Node
NodeJS
≥ 6.0, < 6.*

Verify advisory

Source
Node
NodeJS
≥ 7.0, < 7.*

Verify advisory

Source
Node
NodeJS
≥ 8.0, < 8.*

Verify advisory

Source
Node
NodeJS
≥ 9.0, < 9.*

Verify advisory

Source
Node
NodeJS
≥ 10.0, < 10.*

Verify advisory

Source
Node
NodeJS
≥ 11.0, < 11.*

Verify advisory

Source
Node
NodeJS
≥ 12.0, < 12.*

Verify advisory

Source
Node
NodeJS
≥ 13.0, < 13.*

Verify advisory

Source
Node
NodeJS
≥ 14.0, < 14.*

Verify advisory

Source
Node
NodeJS
≥ 15.0, < 15.*

Verify advisory

Source
Node
NodeJS
≥ 16.0, < 16.20.1

Verify advisory

Source
Node
NodeJS
≥ 17.0, < 17.*

Verify advisory

Source
Node
NodeJS
≥ 18.0, < 18.16.1

Verify advisory

Source
Node
NodeJS
≥ 19.0, < 19.*

Verify advisory

Source
Node
NodeJS
≥ 20.0, < 20.3.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.