
CVE catalog
CVE-2021-4435
node-yarnpkg: CVE-2021-4435
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.30% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-yarnpkg | sid | 4.1.0+dfsg-9 | fixed |
| Debian | node-yarnpkg | forky | 4.1.0+dfsg-9 | fixed |
| Debian | node-yarnpkg | trixie | 4.1.0+dfsg-1 | fixed |
| Debian | node-yarnpkg | bookworm | 1.22.19+~cs24.27.18-2+deb12u1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-yarnpkg | source | sid | 1.22.19+~cs24.27.18-1 | not yet assigned | Not reported | Not reported |
| Debian | node-yarnpkg | source | forky | 1.22.19+~cs24.27.18-1 | not yet assigned | Not reported | Not reported |
| Debian | node-yarnpkg | source | trixie | 1.22.19+~cs24.27.18-1 | not yet assigned | Not reported | Not reported |
| Debian | node-yarnpkg | source | bookworm | 1.22.19+~cs24.27.18-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [yarnpkg]Fixed
Source package: [node-yarnpkg]
Details (2)
1.22.19+~cs24.27.18-2+deb12u1· all · bookwormFixed · Fixed:
1.22.19+~cs24.27.18-1dsa · node-yarnpkg · debian · bookworm; dsa · node-yarnpkg · debian · 12
1.22.19+~cs24.27.18-2+deb12u1· all · bookwormFixed · Fixed:
1.22.19+~cs24.27.18-1dsa · node-yarnpkg · debian · bookworm; dsa · node-yarnpkg · debian · 12
[Debian 13 (Trixie)]
- [yarnpkg]Fixed
Source package: [node-yarnpkg]
Details (2)
4.1.0+dfsg-1· all · trixieFixed · Fixed:
1.22.19+~cs24.27.18-1dsa · node-yarnpkg · debian · 13
4.1.0+dfsg-1· all · trixieFixed · Fixed:
1.22.19+~cs24.27.18-1dsa · node-yarnpkg · debian · 13
Observed: