CVE-2021-4435
Yarn: untrusted search path
- State
- Published
- Severity
- 7.7 High
- Published
- Feb 4, 2024
- Updated
- Jun 17, 2025
- Reserved
- Feb 1, 2024
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.7 High | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H | fedora |
Weaknesses
- CWE-426 Untrusted Search Path
Affected Products
| Product | Versions |
|---|---|
yarnn/a |
|
FedoraFedora | |
Extra Packages for Enterprise LinuxFedora |
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.