CVE-2019-10773 Yarn Improper link resolution before file access (Link Following)
HighCVSS 7.8
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| npm yarn(npm) | <= 1.21.1 | No fix listed |
| ubuntu/node-yarnpkg(Ubuntu:22.04) | All versions | No fix listed |
| debian/node-yarnpkg(Debian:12) | < 1.21.1-1 | 1.21.1-1 |
| debian/node-yarnpkg(Debian:13) | < 1.21.1-1 | 1.21.1-1 |
| debian/node-yarnpkg(Debian:14) | < 1.21.1-1 | 1.21.1-1 |
| yarnpkg yarn | < 1.21.1 | 1.21.1 |
References
- nvd.nist.gov third-party-advisory
- github.com exploit third-party-advisory
- github.com patch
- github.com patch third-party-advisory
- RHSA-2020:0475 vendor-advisory
- blog.daniel-ruf.de exploit third-party-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- snyk.io
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2019-10773 vendor-advisory
- FEDORA-2020-7525beefa1 vendor-advisory
- FEDORA-2020-766ce5adae vendor-advisory
- snyk.io