Security readout for executives and security teams
Plain-English summary
This flaw affects npm’s dependency tree handling on case-insensitive filesystems. A malicious package install scenario could cause package contents to be written outside the intended node_modules location and remove existing contents there. The main business risk is developer or build-machine compromise through unsafe dependency installation.
Executive priority
Treat as high priority for development and build environments, especially where npm v7 is used on macOS or Windows. Patch promptly, but urgency is lower for systems that do not install packages or do not use affected versions.
Technical view
@npmcli/arborist before 2.8.2 treated dependencies differing only by case as separate nodes, while macOS and Windows filesystems may resolve them to the same path. Combined with symlink file dependencies, extraction could target unintended filesystem locations. npm v7.20.7 includes the patched Arborist version.
Likely exposure
Exposure is most likely on macOS or Windows developer workstations, CI runners, and build systems using npm v7.20.6 or earlier, or @npmcli/arborist below 2.8.2. Systems installing untrusted or compromised package dependency graphs carry the highest practical risk.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation evidence. Exploitation requires a package installation workflow and user interaction, so this is primarily a software supply-chain and build-environment risk rather than a remotely reachable service flaw.
Researcher notes
The vulnerability is CWE-61 symlink following with a filesystem case-collision condition. Keep validation focused on affected npm/Arborist versions, filesystem sensitivity, and package-install trust boundaries. Do not assume exploit activity without external evidence.
Mitigation direction
- Upgrade npm to v7.20.7 or later.
- Ensure @npmcli/arborist is 2.8.2 or later where separately pinned.
- Restrict installation of untrusted packages on case-insensitive developer and build hosts.
- Review vendor advisories for downstream products before assuming inherited exposure is fixed.
Validation and detection
- Inventory npm versions on developer workstations and CI runners.
- Check lockfiles and tooling for direct @npmcli/arborist versions below 2.8.2.
- Prioritize macOS and Windows hosts, or any case-insensitive filesystem configuration.
- Confirm package installation policies limit untrusted or unsigned dependency sources.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-61: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-39134 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 8.2 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N1.85.8Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
8.2HighVector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/npm/arborist/security/advisories/GHSA-2h3h-q99f-3fhcCVE reference · x_refsource_CONFIRM
- https://www.npmjs.com/package/%40npmcli/arboristCVE reference · x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2021.htmlCVE reference · x_refsource_MISC
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfCVE reference · x_refsource_CONFIRM
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
UNIX Symbolic Link (Symlink) Following
UNIX Symbolic Link (Symlink) Following represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
