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. Upstream issue: https://github.com/yarnpkg/yarn/issues/7761 Upstream patch: https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7 References: https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/ https://snyk.io/vuln/SNYK-JS-YARN-537806
Created nodejs-yarn tracking bugs for this issue: Affects: fedora-all [bug 1788329]
This issue has been addressed in the following products: Red Hat Quay 3 Via RHSA-2020:0475 https://access.redhat.com/errata/RHSA-2020:0475
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-10773