CVE-2023-30585
publishednodejs: privilege escalation via Malicious Registry Key manipulation during Node.js installer repair process
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NodeJS | — | Node4.0 to < 4.* · 5.0 to < 5.* · 6.0 to < 6.* · 7.0 to < 7.* · 8.0 to < 8.* · 9.0 to < 9.* · 10.0 to < 10.* · 11.0 to < 11.* · 12.0 to < 12.* · 13.0 to < 13.* · 14.0 to < 14.* · 15.0 to < 15.* · 16.0 to < 16.20.1 · 17.0 to < 17.* · 18.0 to < 18.16.1 · 19.0 to < 19.* · 20.0 to < 20.3.1 · Other versions: unaffected | Affected | Not stated | hackerone |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12 | nodejs16aarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | nodejs16ppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | nodejs16s390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | nodejs16x86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-develaarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12 | nodejs16-develppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-devels390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-develx86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | nodejs16-docsnoarch | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | nodejs18aarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | nodejs18ppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | nodejs18s390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | nodejs18x86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | nodejs18-develaarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | nodejs18-develppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | nodejs18-devels390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | nodejs18-develx86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | nodejs18-docsnoarch | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | npm16aarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | npm16ppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | npm16s390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | npm16x86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12 | npm18aarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | npm18ppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | npm18s390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12 | npm18x86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16aarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16ppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16s390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16x86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16-develaarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16-develppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16-devels390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16-develx86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs16-docsnoarch | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs18aarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs18ppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs18s390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs18x86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs18-develaarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs18-develppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs18-devels390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs18-develx86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | nodejs18-docsnoarch | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm16aarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm16ppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm16s390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm16x86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm18aarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm18ppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm18s390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP3 | npm18x86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16aarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16ppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16s390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16x86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16-develaarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16-develppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16-devels390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16-develx86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs16-docsnoarch | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs18aarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs18ppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs18s390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs18x86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs18-develaarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs18-develppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs18-devels390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs18-develx86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | nodejs18-docsnoarch | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm16aarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm16ppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm16s390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm16x86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm18aarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm18ppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm18s390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP4 | npm18x86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16aarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16ppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16s390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16x86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16-develaarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16-develppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16-devels390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16-develx86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs16-docsnoarch | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs18aarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs18ppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs18s390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs18x86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs18-develaarch64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs18-develppc64le | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs18-devels390x | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs18-develx86_64 | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP5 | nodejs18-docsnoarch | Advisory build | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
| SUSE / openSUSE | SLE-12-SP5 | npm16aarch64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | npm16ppc64le | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | npm16s390x | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SUSE / openSUSE | SLE-12-SP5 | npm16x86_64 | Advisory build | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NodeJS | Node | 4.0 to < 4.* (affected · semver)5.0 to < 5.* (affected · semver)6.0 to < 6.* (affected · semver)7.0 to < 7.* (affected · semver)8.0 to < 8.* (affected · semver)9.0 to < 9.* (affected · semver)10.0 to < 10.* (affected · semver)11.0 to < 11.* (affected · semver)12.0 to < 12.* (affected · semver)13.0 to < 13.* (affected · semver)14.0 to < 14.* (affected · semver)15.0 to < 15.* (affected · semver)16.0 to < 16.20.1 (affected · semver)17.0 to < 17.* (affected · semver)18.0 to < 18.16.1 (affected · semver)19.0 to < 19.* (affected · semver)20.0 to < 20.3.1 (affected · semver)Default: unaffected | hackerone · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 398e55e7c0ffe17293f2a1b2dc4eeafedf8ff2d7fc7468c6b736b4e22f24ca89
- Ingested
- 09 Oct 2026, 16:22:05 UTC
- Source record
- Official CVE record