Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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