VDB
KO
HIGH 7.5

GHSA-8mfc-v7wv-p62g

Path Traversal in Yarn

Details

Arbitrary filesystem write vulnerability in Yarn 1.21.1 and earlier 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / yarn
Introduced in: 0 Fixed in: 1.22.0
Fix npm install yarn@1.22.0

References