yarnpkg/yarn · Security
Yarn untrusted search path vulnerability
- GHSA ID
- GHSA-mpwj-fcr6-x34c
- CVE ID
- CVE-2021-4435
- Severity
- high
- Published
- Updated
- CVSS
- 7.7 · CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- CVSS v3
- 7.7 · CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
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.
CWEs
- CWE-426 · Untrusted Search Path
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-4435 ↗
- https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1 ↗
- https://access.redhat.com/security/cve/CVE-2021-4435 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=2262284 ↗
- https://github.com/yarnpkg/yarn/releases/tag/v1.22.13 ↗
- https://github.com/advisories/GHSA-mpwj-fcr6-x34c ↗