HighVulnerabilityGHSA-8mfc-v7wv-p62gCVE-2020-8131Published 9 Feb 2022
Path Traversal in Yarn
Your version
Affected releases · yarn
- 1.x1.0.0 – 1.21.1Fixed in 1.22.0
- 0.28.x and older0.1.0 – 0.28.4No fix, no longer updated
On 1.x, the newest line:
npm install yarn@1.22.0Every release on a timeline
2.x
Not affected
2.4.3
1 release
1.x
Affected
1.0.0 – 1.21.1
40 releases
Fixed
1.22.0 – 1.22.22
21 releases, latest
0.x
Affected
0.1.0 – 0.28.4
56 releases
What happens
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.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.