GitHub Advisoryadvisory · npm
GHSA-mpwj-fcr6-x34c Yarn untrusted search path vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2021-4435
- Ecosystem
- npm
- Packages
- yarn
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-426
- Reviewed
- 2024-02-05
Affected packages
• npm yarn: < 1.22.13 → fixed in 1.22.13
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.
Related
Alias · CVE (1)
- CVE-2021-4435 An untrusted search path vulnerability was found in Yarn. vulnerability
Weakness · CWE (1)
- CWE-426 Untrusted Search Path weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-4435 advisory
- https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1 web
- https://access.redhat.com/security/cve/CVE-2021-4435 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2262284 web
- https://github.com/yarnpkg/yarn package
- https://github.com/yarnpkg/yarn/releases/tag/v1.22.13 web