CVE-2021-4435
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.22.19+~cs24.27.18-1 |
| sid | Fixed | 1.22.19+~cs24.27.18-1 |
| forky | Fixed | 1.22.19+~cs24.27.18-1 |
| bullseye | Affected | โ |
| bookworm | Fixed | 1.22.19+~cs24.27.18-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| npm | yarn | <1.22.13 | 1.22.13 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-4435
- https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
- https://access.redhat.com/security/cve/CVE-2021-4435
- https://bugzilla.redhat.com/show_bug.cgi?id=2262284
- https://github.com/yarnpkg/yarn
- https://github.com/yarnpkg/yarn/releases/tag/v1.22.13
- https://security-tracker.debian.org/tracker/CVE-2021-4435
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.