{"id":"GHSA-mpwj-fcr6-x34c","summary":"Yarn untrusted search path vulnerability","details":"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.","aliases":["CVE-2021-4435"],"modified":"2026-09-10T03:50:06.425385242Z","published":"2024-02-04T21:30:43Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-02-05T20:20:29Z","nvd_published_at":"2024-02-04T20:15:45Z","cwe_ids":["CWE-426"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4435"},{"type":"WEB","url":"https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-4435"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2262284"},{"type":"PACKAGE","url":"https://github.com/yarnpkg/yarn"},{"type":"WEB","url":"https://github.com/yarnpkg/yarn/releases/tag/v1.22.13"}],"affected":[{"package":{"name":"yarn","ecosystem":"npm","purl":"pkg:npm/yarn"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.13"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-mpwj-fcr6-x34c/GHSA-mpwj-fcr6-x34c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}