GHSA-2h3h-q99f-3fhc · 深刻度: high · エコシステム: npm — @npmcli/arborist vulnerable to UNIX Symbolic Link (Symlink) Following
`@npmcli/arborist`, the library that calculates dependency trees and manages the `node_modules` folder hierarchy for the npm command line interface, aims to guarantee that package dependency contracts will be met, and the extraction of package contents will always be performed into the expected folder. This is, in part, accomplished by resolving dependency specifiers defined in `package.json` manifests for dependencies with a specific name, and nesting folders to resolve conflicting dependencies. When multiple dependencies differ only in the case of their name, Arborist's internal data structure saw them as separate items that could coexist within the same level in the `node_modules` hierarchy. However, on case-insensitive file systems (such as macOS and Windows), this is not the case. Combined with a symlink dependency such as `file:/some/path`, this allowed an attacker to create a situation in which arbitrary contents could be written to any location on the filesystem. For example, a package `pwn-a` could define a dependency in their `package.json` file such as `"foo": "file:/some/path"`. Another package, `pwn-b` could define a dependency such as `FOO: "file:foo.tgz"`. On case-insensitive file systems, if `pwn-a` was installed, and then `pwn-b` was installed afterwards, the contents of `foo.tgz` would be written to `/some/path`, and any existing contents of `/some/path` would be removed. Anyone using npm v7.20.6 or earlier on a case-insensitive filesystem is potentially affected. This is patched in @npmcli/arborist 2.8.2 which is included in npm v7.20.7 and above.
総合評価: CVE-2021-39134 は中リスク(47.9/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.58%、43 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-24 | 0.54% | 0.58% | +0.04% |
| 2 | 2026-06-15 | 0.72% | 0.54% | -0.18% |
| 3 | 2026-03-27 | — | 0.72% | — |
EPSS の全履歴 (全 19 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.2 | 3.1 | HIGH |
|
1.8 | 5.8 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 4.4 | 2.0 | MEDIUM |
|
3.4 | 6.4 | [email protected] |
GHSA-2h3h-q99f-3fhc · 深刻度: high · エコシステム: npm — @npmcli/arborist vulnerable to UNIX Symbolic Link (Symlink) Following
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2021-39134: 1 source package rows (nodejs); 9 state rows across 9 repos (3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 9, open 0. | https://security.alpinelinux.org/vuln/CVE-2021-39134 |
debian
|
not yet assigned | CVE-2021-39134 not yet assigned priority: Debian including 1 source packages (npm), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2021-39134 |
gentoo
|
low | CVE-2021-39134: 1 GLSA(s) (202405-29), 1 atom(s) (net-libs/nodejs); latest impact low. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-39134 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2021-39134 |
suse
|
high | CVE-2021-39134 severity important: SUSE including 32 source package names (12-10.1:nodejs12-12.22.7-4.22.1, 12-10.1:npm12-12.22.7-4.22.1, …), 84 product×package rows across 10 product lines (Container bci/nodejs, SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP4, … (10 product lines)): Fixed 76, Known Not Affected 8. | https://www.suse.com/security/cve/CVE-2021-39134/ |
ubuntu
|
medium | CVE-2021-39134 medium priority: Ubuntu including 1 source packages (npm), 15 status rows across 15 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 5, not-affected 5, needs-triage 4, released 1. | https://ubuntu.com/security/CVE-2021-39134 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| npmjs | arborist | < 2.8.2 | cpe:2.3:a:npmjs:arborist:*:*:*:*:*:node.js:*:* |
| oracle | graalvm | 20.3.3 | cpe:2.3:a:oracle:graalvm:20.3.3:*:*:*:enterprise:*:*:* |
| oracle | graalvm | 21.2.0 | cpe:2.3:a:oracle:graalvm:21.2.0:*:*:*:enterprise:*:*:* |
| siemens | sinec_infrastructure_network_services | < 1.0.1.1 | cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | Patch Third Party Advisory |
| https://github.com/npm/arborist/security/advisories/GHSA-2h3h-q99f-3fhc | Mitigation Third Party Advisory |
| https://www.npmjs.com/package/%40npmcli/arborist | |
| https://www.oracle.com/security-alerts/cpuoct2021.html | Patch Third Party Advisory |