Yarn Improper link resolution before file access (Link Following)
High severity
GitHub Reviewed
Published
Feb 14, 2020
to the GitHub Advisory Database
•
Updated Sep 8, 2023
Description
Reviewed
Feb 13, 2020
Published to the GitHub Advisory Database
Feb 14, 2020
Last updated
Sep 8, 2023
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.
References