CVEvulnerability
CVE-2021-4435
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-02-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.7 HIGH — CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-426
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.
Affected configurations
• yarnpkg yarn (< 1.22.13)
Related
Weakness · CWE (1)
- CWE-426 Untrusted Search Path weakness
References
- 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