CVE-2021-4435
HIGH7.7EPSS 0.05%Yarn untrusted search path vulnerability
Published: 2/4/2024Modified: 4/28/2026
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.
Affected packages (2)
- Debian/node-yarnpkgfrom 0
- npm/yarnfrom 0, < 1.22.13
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-4435
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-4435
- PATCHhttps://github.com/yarnpkg/yarn
- WEBhttps://access.redhat.com/security/cve/CVE-2021-4435
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2262284
- WEBhttps://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
- WEBhttps://github.com/yarnpkg/yarn/releases/tag/v1.22.13