GitHub Advisory Database
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | yarn | All versions before 1.22.0 (fixed in 1.22.0) |