Vulnerability GHSA-5xf4-f2fq-f69j

High Risk
HIGH RISK
CVSS Score: 7.8
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
6 years ago
February 14, 2020 at 11:10 PM UTC
Yarn Improper link resolution before file access (Link Following)
<1.22.0
<1.22.0

Summary

Yarn Improper link resolution before file access (Link Following)

Details

In Yarn before 1.21.1, the package install functionality can be abused to generate arbitrary symlinks on the host filesystem by using specially crafted "bin" keys. Existing files could be overwritten depending on the current user permission set.

Impacted packages

Timeline

Published
6 years ago
February 14, 2020 at 11:10 PM UTC
Fixed (1.22.0)
6 years ago
February 05, 2020 at 07:13 PM UTC
Last Modified
5 hours ago
December 02, 2026 at 07:11 AM UTC