Ubuntu CVE Tracker
UBUNTU-CVE-2019-10773
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | node-yarnpkg | All versions, no fix listed |
| Ubuntu:22.04:LTS | node-yarnpkg | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2019-10773
- https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023
- https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/
- https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7
- https://snyk.io/vuln/SNYK-JS-YARN-537806
- https://snyk.io/vuln/SNYK-JS-YARN-537806,
- https://www.cve.org/CVERecord?id=CVE-2019-10773