NVD Vulnerability Detail
Search Exploit, PoC
CVE-2023-30585
Summary

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.

Publication Date Nov. 28, 2023, 11:15 a.m.
Registration Date Nov. 28, 2023, 4 p.m.
Last Update Nov. 21, 2024, 5 p.m.
CVSS3.1 : HIGH
スコア 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A) なし
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* 20.0.0 20.3.1
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* 18.0.0 18.16.1
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* 16.0.0 16.20.1
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Node.js Foundation の Node.js における脆弱性
Title Node.js Foundation の Node.js における脆弱性
Summary

Node.js Foundation の Node.js には、不特定の脆弱性が存在します。

Possible impacts 情報を改ざんされる可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date Nov. 28, 2023, midnight
Registration Date Jan. 10, 2024, 4:19 p.m.
Last Update Jan. 10, 2024, 4:19 p.m.
Affected System
Node.js Foundation
Node.js 16.0.0 以上 16.20.1 未満
Node.js 18.0.0 以上 18.16.1 未満
Node.js 20.0.0 以上 20.3.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2024年01月10日]
  掲載
Jan. 10, 2024, 4:19 p.m.