CVEvulnerability
CVE-2020-8131
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2020-02-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 5.1 MEDIUM — AV:N/AC:H/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-22
Description
Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem and potentially lead to arbitrary code execution by forcing the user to install a malicious package.
Affected configurations
• yarnpkg yarn (<= 1.21.1)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/yarnpkg/yarn/pull/7831 Patch, Third Party Advisory
- https://hackerone.com/reports/730239 Exploit, Third Party Advisory
- https://github.com/yarnpkg/yarn/pull/7831 Patch, Third Party Advisory
- https://hackerone.com/reports/730239 Exploit, Third Party Advisory