Advisory

GHSA-8mfc-v7wv-p62g

Also known as: CVE-2020-8131

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-09 22:43 UTC
Modified
2023-11-08 04:04 UTC

Affected packages and fixes

yarn

npm · All systems

Affected

  • introduced 0, fixed 1.22.0 (semver)

Fixed versions

1.22.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences