CVE-2019-16776 | Unauthorized File Access in npm CLI before before version 6.13.3

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.

公開: 2019-12-12 最終更新: 2026-06-16 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2019-16776 は中リスク(63.4/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 3.34%、87 パーセンタイル) 根拠: 直近 1 日で EPSS が +2.11% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2019-16776 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 1.23% 3.34% +2.11%
2 2026-05-20 1.03% 1.23% +0.20%
3 2026-05-03 1.03%

EPSS の全履歴 (全 46 件)

CVE-2019-16776 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.7 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
1.3 5.8 [email protected]
8.1 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.8 5.2 [email protected]
5.5 2.0 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:N クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:L)
手順が短く、再現性が高い。
認証 (AU:S)
一度の認証(シングルサインオン含む)を突破すればよい。
機密性への影響 (C:P)
機密性は部分的に損なわれる。
完全性への影響 (I:P)
完全性は部分的に損なわれる。
可用性への影響 (A:N)
可用性は損なわれない。
8.0 4.9 [email protected]

CVE-2019-16776 の弱点分類(列挙)

CVE-2019-16776 の GitHub Security Advisory

GHSA-x8qc-rrcw-4r46 · 深刻度: high · エコシステム: npm — npm symlink reference outside of node_modules

CVE-2019-16776 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2019-16776 not yet assigned priority: Debian including 1 source packages (npm), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2019-16776
redhat low https://access.redhat.com/security/cve/CVE-2019-16776
suse high CVE-2019-16776 severity important: SUSE including 38 source package names (nodejs-12.14.1-1.module+el8.1.0+5466+30f75629, nodejs-devel-12.14.1-1.module+el8.1.0+5466+30f75629, …), 119 product×package rows across 20 product lines (SUSE Enterprise Storage 7.1, SUSE Liberty Linux 8, … (20 product lines)): Fixed 65, Known Not Affected 54. https://www.suse.com/security/cve/CVE-2019-16776/
ubuntu medium CVE-2019-16776 medium priority: Ubuntu including 1 source packages (npm), 18 status rows across 18 suites (bionic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 10, needs-triage 8. https://ubuntu.com/security/CVE-2019-16776

CVE-2019-16776 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
npmjs npm < 6.13.3 cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:*
opensuse leap 15.1 cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
oracle graalvm 19.3.0.2 cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*
fedoraproject fedora 31 cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
redhat enterprise_linux 8.0 cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
redhat enterprise_linux_eus 8.1 cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*

CVE-2019-16776 の参考情報

URL タグ
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html Mailing List Third Party Advisory
https://access.redhat.com/errata/RHEA-2020:0330 Third Party Advisory
https://access.redhat.com/errata/RHSA-2020:0573 Third Party Advisory
https://access.redhat.com/errata/RHSA-2020:0579 Third Party Advisory
https://access.redhat.com/errata/RHSA-2020:0597 Third Party Advisory
https://access.redhat.com/errata/RHSA-2020:0602 Third Party Advisory
https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli Third Party Advisory
https://github.com/npm/cli/security/advisories/GHSA-x8qc-rrcw-4r46 Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
https://www.oracle.com/security-alerts/cpujan2020.html Third Party Advisory
cvelogic Threat Intelligence