CVE-2023-30585
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 AUTHORITYSYSTEM context, attempts to read the %USERPROFILE% environment variable from the current users 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.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Multiple vulnerabilities are fixed in Node.js 16 (x64) (16.20.1) | Windows |
| Multiple vulnerabilities are fixed in Node.js 16 (16.20.1) | Windows |
| Multiple vulnerabilities are fixed in Node.js 18 (x64) (18.16.1) | Windows |
| Multiple vulnerabilities are fixed in Node.js 18 (18.16.1) | Windows |
| Multiple vulnerabilities are fixed in Node.js 20.3.1 | Windows |
| Multiple Vulnerabilities are affected in IBM Business Automation Workflow 20.0.0.2 | Windows |
| Multiple Vulnerabilities are affected in IBM Business Automation Workflow 19.0.0.3 | Windows |
| Multiple Vulnerabilities are affected in IBM Business Automation Workflow 21.0.3.1 | Windows |
| Multiple Vulnerabilities are affected in IBM Business Automation Workflow 22.0.2 | Windows |
| SUSE-SU-2023:2663-1(Web and Scripting Module 15-SP4 ) nodejs16-16.20.1-150400.3.21.1.x86_64.rpm | Linux |
| SUSE-SU-2023:2663-1(Web and Scripting Module 15-SP4 ) nodejs16-debuginfo-16.20.1-150400.3.21.1.x86_64.rpm | Linux |
| SUSE-SU-2023:2663-1(Web and Scripting Module 15-SP4 ) nodejs16-debugsource-16.20.1-150400.3.21.1.x86_64.rpm | Linux |
| SUSE-SU-2023:2663-1(Web and Scripting Module 15-SP4 ) nodejs16-devel-16.20.1-150400.3.21.1.x86_64.rpm | Linux |
| SUSE-SU-2023:2663-1(Web and Scripting Module 15-SP4 ) npm16-16.20.1-150400.3.21.1.x86_64.rpm | Linux |
| SUSE-SU-2023:2663-1(Web and Scripting Module 15-SP4 ) nodejs16-docs-16.20.1-150400.3.21.1.noarch.rpm | Linux |
| SUSE-SU-2023:2669-1(Web and Scripting Module 15-SP4 ) nodejs18-debuginfo-18.16.1-150400.9.9.1.x86_64.rpm | Linux |
| SUSE-SU-2023:2669-1(Web and Scripting Module 15-SP4 ) nodejs18-debugsource-18.16.1-150400.9.9.1.x86_64.rpm | Linux |
| SUSE-SU-2023:2669-1(Web and Scripting Module 15-SP5 ) nodejs18-18.16.1-150400.9.9.1.x86_64.rpm | Linux |
| SUSE-SU-2023:2669-1(Web and Scripting Module 15-SP5 ) nodejs18-debuginfo-18.16.1-150400.9.9.1.x86_64_15_SP5.rpm | Linux |
| SUSE-SU-2023:2669-1(Web and Scripting Module 15-SP5 ) nodejs18-debugsource-18.16.1-150400.9.9.1.x86_64_15_SP5.rpm | Linux |
| SUSE-SU-2023:2669-1(Web and Scripting Module 15-SP5 ) nodejs18-devel-18.16.1-150400.9.9.1.x86_64.rpm | Linux |
| SUSE-SU-2023:2669-1(Web and Scripting Module 15-SP5 ) npm18-18.16.1-150400.9.9.1.x86_64.rpm | Linux |
| SUSE-SU-2023:2669-1(Web and Scripting Module 15-SP5 ) nodejs18-docs-18.16.1-150400.9.9.1.noarch.rpm | Linux |
Patch Details
Click to see the patches provided by ManageEngine for this CVE
| Patch ID | Patch Description |
|---|---|
| PATCH-331257 | Node.js 16 (x64) (16.20.1) |
| PATCH-331256 | Node.js 16 (16.20.1) |
| PATCH-331763 | Node.js 18 (x64) (18.17.0) |
| PATCH-331762 | Node.js 18 (18.17.0) |
| PATCH-319042 | Node.js 10 (10.24.1) |
References
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234