A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Yarnpkg yarn
Weakness type
References
- access.redhat.com /errata/RHSA-2020:0475
- blog.daniel-ruf.de /critical-design-flaw-npm-pnpm-yarn/
- github.com /yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90…
- github.com /yarnpkg/yarn/issues/7761
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/m…
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/m…
- snyk.io /vuln/SNYK-JS-YARN-537806%2C
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning