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
Configurations
Information
Published : 2019-12-16 12:15
Updated : 2020-02-07 20:15
NVD link : CVE-2019-10773
Mitre link : CVE-2019-10773
JSON object : View
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
Products Affected
yarnpkg
- yarn