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. 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.

公表日 2023年11月28日11:15
登録日 2023年11月28日16:00
最終更新日 2024年11月21日17:00
CVSS3.1 : HIGH
スコア 7.5
ベクター 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) なし
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
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
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
Node.js Foundation の Node.js における脆弱性
タイトル Node.js Foundation の Node.js における脆弱性
概要

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

想定される影響 情報を改ざんされる可能性があります。
対策

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

公表日 2023年11月28日0:00
登録日 2024年1月10日16:19
最終更新日 2024年1月10日16:19
影響を受けるシステム
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 (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2024年01月10日]
  掲載
2024年1月10日16:19