SB2020022112 - Arbitrary File Overwrite in yarn package for dependency management



SB2020022112 - Arbitrary File Overwrite in yarn package for dependency management

Published: February 21, 2020 Updated: March 7, 2020

Security Bulletin ID SB2020022112
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • 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.