CVE-2020-8131 Path Traversal in Yarn
HighCVSS 7.5
EPSS 5.2%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem and potentially lead to arbitrary code execution by forcing the user to install a malicious package.
Upgrade path
6 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-yarnpkg(Debian 12) | < 1.22.4-2 | 1.22.4-2 | Fixed |
| debian/node-yarnpkg(Debian 13) | < 1.22.4-2 | 1.22.4-2 | Fixed |
| debian/node-yarnpkg(Debian 14) | < 1.22.4-2 | 1.22.4-2 | Fixed |
| npm yarn(npm) | < 1.22.0; <= 1.21.1 | 1.22.0 | Fixed |
| ubuntu/node-yarnpkg(Ubuntu 20.04) | < 1.22.4-2; = 1.13.0-1build1; = 1.13.0-3; = 1.19.1-1 | 1.22.4-2 | Fixed |
| yarnpkg yarn | <= 1.21.1 | after 1.21.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm yarn(npm) | <= 1.21.1 | No fix listed |
| debian/node-yarnpkg(Debian:12) | < 1.22.4-2 | 1.22.4-2 |
| debian/node-yarnpkg(Debian:13) | < 1.22.4-2 | 1.22.4-2 |
| debian/node-yarnpkg(Debian:14) | < 1.22.4-2 | 1.22.4-2 |
| yarnpkg yarn | <= 1.21.1 | No fix listed |
| npm yarn(npm) | < 1.22.0 | 1.22.0 |
| ubuntu/node-yarnpkg(Ubuntu:20.04) | < 1.22.4-2 | 1.22.4-2 |
| ubuntu/node-yarnpkg(Ubuntu:20.04) | = 1.13.0-1build1 | No fix listed |
| ubuntu/node-yarnpkg(Ubuntu:20.04) | = 1.13.0-3 | No fix listed |
| ubuntu/node-yarnpkg(Ubuntu:20.04) | = 1.19.1-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- hackerone.com exploit issue-tracking third-party-advisory
- github.com
- Debian Security Tracker CVE-2020-8131 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking