high7.7
CVE-2021-4435
Yarn untrusted search path vulnerability
Impact
An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | yarn | < 1.22.13 | 1.22.13 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Yarnpkg | Yarn | before 1.22.13 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/security/cve/CVE-2021-4435
- https://bugzilla.redhat.com/show_bug.cgi?id=2262284
- https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
- https://github.com/yarnpkg/yarn/releases/tag/v1.22.13
- https://github.com/advisories/GHSA-mpwj-fcr6-x34c
- https://nvd.nist.gov/vuln/detail/CVE-2021-4435