Skip to content
OpenAdvisories
High · 7.7 CVE-2021-4435 EUVD-2024-0674GHSA-mpwj-fcr6-x34c

Yarn: untrusted search path

Published Feb 4, 2024 · Updated Jun 17, 2025 · Assigned by fedora

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.

Affected products

VendorProductAffectedFixed
— yarn — 1.22.13
Fedora Fedora — —
Fedora Extra Packages for Enterprise Linux — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-yarnpkg 1.22.19+~cs24.27.18-1 —
Debian 13 node-yarnpkg 1.22.19+~cs24.27.18-1 —
Debian 12 node-yarnpkg 1.22.19+~cs24.27.18-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-yarnpkg No fix yet —
Ubuntu 26.04 LTS node-yarnpkg No fix yet —
Ubuntu 25.10 node-yarnpkg No fix yet —
Ubuntu 24.04 LTS node-yarnpkg No fix yet —
Ubuntu 22.04 LTS node-yarnpkg No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-yarnpkg No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling yarn 1.22.13-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm yarn < 1.22.13 1.22.13 GHSA-mpwj-fcr6-x34c

References