NVD Vulnerability Detail
Search Exploit, PoC
CVE-2019-16776
Summary

Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.

Publication Date Dec. 13, 2019, 10:15 a.m.
Registration Date Jan. 26, 2021, 11:40 a.m.
Last Update Nov. 21, 2024, 1:31 p.m.
CVSS3.1 : HIGH
スコア 8.1
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 5.5
Vector AV:N/AC:L/Au:S/C:P/I:P/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 単一
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:* 6.13.3
Configuration2 or higher or less more than less than
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*
Configuration4 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
Configuration5 or higher or less more than less than
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
npm CLI における入力確認に関する脆弱性
Title npm CLI における入力確認に関する脆弱性
Summary

npm CLI には、入力確認に関する脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Dec. 12, 2019, midnight
Registration Date Dec. 26, 2019, 1:38 p.m.
Last Update Dec. 26, 2019, 1:38 p.m.
Affected System
cli project
cli 6.13.3 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2019年12月26日]
  掲載
Dec. 26, 2019, 1:38 p.m.