SB2020022112 - Arbitrary File Overwrite in yarn package for dependency management
Published: February 21, 2020 Updated: March 7, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Path traversal (CVE-ID: CVE-2020-8131)
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.
Remediation
Install update from vendor's website.