Vulnerability record · CVE-2021-4435 · published 4 February 2024
CVE-2021-4435: Yarnpkg yarn untrusted search path vulnerability
Yarnpkg · Yarn
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.
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2021-4435 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2262284 | Issue Tracking |
| https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1 | Patch |
| https://github.com/yarnpkg/yarn/releases/tag/v1.22.13 | Release Notes |
| https://access.redhat.com/security/cve/CVE-2021-4435 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2262284 | Issue Tracking |
| https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1 | Patch |
| https://github.com/yarnpkg/yarn/releases/tag/v1.22.13 | Release Notes |
Track CVE-2021-4435 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-4435), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.