Name | CVE-2021-4435 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
node-yarnpkg (PTS) | bullseye | 1.22.10+~cs22.25.14-3 | vulnerable |
| bookworm | 1.22.19+~cs24.27.18-2+deb12u1 | fixed |
| sid, trixie | 4.0.2+dfsg-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
node-yarnpkg | source | (unstable) | 1.22.19+~cs24.27.18-1 | | | |
Notes
[bullseye] - node-yarnpkg <no-dsa> (Minor issue)
[buster] - node-yarnpkg <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2262284
Fixed by: https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1 (v1.22.12)