Path traversal in yarn - CVE-2020-8131
Published: February 21, 2020 / Updated: March 3, 2020
yarn
Detailed vulnerability description
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to symlinks not being correctly unpacked as part of the Yarn install process. It is possible for a malicious package, upon install, to write to any path on the filesystem even when the "--ignore-scripts" option is set. A remote attacker can overwrite arbitrary files on the target system.