{"id":"CVE-2021-4435","published":"2024-02-04T19:16:35Z","modified":"2025-06-17T14:29:17Z","title":"Yarn: untrusted search path","vendor":"Fedora","product":"Fedora","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00298,"percentile":0.23027,"provenance":"source"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2021-4435","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2262284","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1","tags":[]},{"url":"https://github.com/yarnpkg/yarn/releases/tag/v1.22.13","tags":[]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":4.61},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"fedora","fixedVersions":[{"vendor":"n/a","product":"yarn","versions":["1.22.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-06-17T14:29:04.160012Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"yarn","vulnerableRanges":["<1.22.13"],"patched":["1.22.13"],"from":["GHSA-mpwj-fcr6-x34c"],"provenance":"source"}],"summary":{"text":"An untrusted search path flaw in Yarn, as shipped in Fedora, causes certain Yarn commands to behave unexpectedly when they are run in a directory containing attacker-controlled content. The attacker can get malicious commands executed on the victim's system, but only with local access, a high-complexity condition, and the victim running a specific Yarn command in the attacker-controlled directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:22Z"},"euvd":{"id":"EUVD-2024-0674","exploited":false,"provenance":"source"}}