Bug 1999744 (CVE-2021-39134)
Summary: | CVE-2021-39134 nodejs-arborist: symlink following vulnerability | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Guilherme de Almeida Suckevicz <gsuckevi> |
Component: | vulnerability | Assignee: | Nobody <nobody> |
Status: | NEW --- | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | hhorak, jorton, kaycoth, mrunge, nodejs-maint, nodejs-sig, psegedy, sgallagh, thrcka |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | nodejs-npmcli-arborist 2.8.2, npm 7.21.0 | Doc Type: | If docs needed, set a value |
Doc Text: |
A flaw was found in nodejs-arborist. On case-insensitive file systems (such as macOS and Windows), Arborist’s internal data structure did not see multiple dependencies as separate items that could coexist within the same level in the node_modules hierarchy when they differ only in the case of their name. This issue, combined with a symlink dependency such as file:/some/path, allows an attacker to create a situation in which arbitrary contents are written to any location on the filesystem. The highest threat from this vulnerability is to integrity and system availability.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2029556 | ||
Bug Blocks: | 1999749 |
Description
Guilherme de Almeida Suckevicz
2021-08-31 16:53:50 UTC
Upstream fix: https://github.com/npm/arborist/commit/cddfe03467ce1db3a8ac92ed8a334f905e8661ba https://github.com/npm/arborist/commit/ec98d96794e0c08d63057a66d5811c4bd6120e17 * npm versions v7 until older than v7.21.0 are affected * npm versions v7.21.0 and newer (including v8.0.0) are not affected * npm versions 6.x and older are not using @npmcli/arborist, and thus are not affected Created nodejs:16/nodejs tracking bugs for this issue: Affects: fedora-all [bug 2029556] |