Skip to content

CVE-2021-4435 Yarn: untrusted search path

HighCVSS 7.8 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.

Upgrade path

13 packages: 5 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
Fedora All versions No fix listed No fix yet
fedora Extra Packages for Enterprise Linux All versions No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 20.04) = 1.13.0-1build1; = 1.13.0-3; = 1.19.1-1; = 1.22.4-2 +1 more No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 22.04) = 1.22.10+~cs22.25.14-3; = 1.22.10+~cs22.25.14-4; = 1.22.10+~cs22.25.14-5; = 1.22.10+~cs22.25.14-8 +1 more No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 24.04) = 1.22.19+~cs24.27.18-2; = 1.22.19+~cs24.27.18-4; All versions No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 25.10) = 4.0.2+dfsg-3; = 4.1.0+dfsg-1; All versions No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 26.04) = 4.1.0+dfsg-1; All versions No fix listed No fix yet
ubuntu/node-yarnpkg(Ubuntu 26.10) = 4.1.0+dfsg-1; = 4.1.0+dfsg-6ubuntu2; = 4.1.0+dfsg-7ubuntu1; All versions No fix listed No fix yet
debian/node-yarnpkg(Debian 12) < 1.22.19+~cs24.27.18-1 1.22.19+~cs24.27.18-1 Fixed
debian/node-yarnpkg(Debian 13) < 1.22.19+~cs24.27.18-1 1.22.19+~cs24.27.18-1 Fixed
debian/node-yarnpkg(Debian 14) < 1.22.19+~cs24.27.18-1 1.22.19+~cs24.27.18-1 Fixed
npm yarn(npm) < 1.22.13 1.22.13 Fixed
yarnpkg yarn < 1.22.13 1.22.13 Fixed

Affected products

ProductAffected versionsFixed in
npm yarn(npm) < 1.22.13 1.22.13
debian/node-yarnpkg(Debian:12) < 1.22.19+~cs24.27.18-1 1.22.19+~cs24.27.18-1
debian/node-yarnpkg(Debian:13) < 1.22.19+~cs24.27.18-1 1.22.19+~cs24.27.18-1
debian/node-yarnpkg(Debian:14) < 1.22.19+~cs24.27.18-1 1.22.19+~cs24.27.18-1
ubuntu/node-yarnpkg(Ubuntu:22.04) All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:24.04) All versions No fix listed
yarnpkg yarn < 1.22.13 1.22.13
Fedora All versions No fix listed
fedora Extra Packages for Enterprise Linux All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.04) All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.10) All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:20.04) All versions No fix listed
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
ubuntu/node-yarnpkg(Ubuntu:20.04) = 1.22.4-2 No fix listed
ubuntu/node-yarnpkg(Ubuntu:22.04) = 1.22.10+~cs22.25.14-3 No fix listed
ubuntu/node-yarnpkg(Ubuntu:22.04) = 1.22.10+~cs22.25.14-4 No fix listed
ubuntu/node-yarnpkg(Ubuntu:22.04) = 1.22.10+~cs22.25.14-5 No fix listed
ubuntu/node-yarnpkg(Ubuntu:22.04) = 1.22.10+~cs22.25.14-8 No fix listed
ubuntu/node-yarnpkg(Ubuntu:24.04) = 1.22.19+~cs24.27.18-2 No fix listed
ubuntu/node-yarnpkg(Ubuntu:24.04) = 1.22.19+~cs24.27.18-4 No fix listed
ubuntu/node-yarnpkg(Ubuntu:25.10) All versions No fix listed
ubuntu/node-yarnpkg(Ubuntu:25.10) = 4.0.2+dfsg-3 No fix listed
ubuntu/node-yarnpkg(Ubuntu:25.10) = 4.1.0+dfsg-1 No fix listed
Show 4 more
ProductAffected versionsFixed in
ubuntu/node-yarnpkg(Ubuntu:26.10) = 4.1.0+dfsg-1 No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.10) = 4.1.0+dfsg-6ubuntu2 No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.10) = 4.1.0+dfsg-7ubuntu1 No fix listed
ubuntu/node-yarnpkg(Ubuntu:26.04) = 4.1.0+dfsg-1 No fix listed

References