Ubuntu CVE Tracker
UBUNTU-CVE-2021-4435
Details
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 versions |
|---|---|---|
| Ubuntu:20.04:LTS | node-yarnpkg | All versions, no fix listed |
| Ubuntu:22.04:LTS | node-yarnpkg | All versions, no fix listed |
| Ubuntu:24.04:LTS | node-yarnpkg | All versions, no fix listed |
| Ubuntu:25.10 | node-yarnpkg | All versions, no fix listed |
| Ubuntu:26.10 | node-yarnpkg | All versions, no fix listed |
| Ubuntu:26.04:LTS | node-yarnpkg | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2021-4435
- https://bugzilla.redhat.com/show_bug.cgi?id=2262284
- https://access.redhat.com/security/cve/CVE-2021-4435
- https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
- https://github.com/yarnpkg/yarn/releases/tag/v1.22.13
- https://www.cve.org/CVERecord?id=CVE-2021-4435