~ / search / GHSA-5xf4-f2fq-f69j

GHSA-5xf4-f2fq-f69j

Yarn Improper link resolution before file access (Link Following)

Source: GitHub Advisory Database (reviewed) High CVE-2019-10773

Packages

EcosystemPackageAffectedFixed in
npm yarn < 1.22.0 1.22.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.