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.
Remediation
References
https://hackerone.com/reports/730239
https://github.com/yarnpkg/yarn/pull/7831
Related Vulnerabilities
CVE-2019-18213 Vulnerability in maven package org.lsp4xml:lsp4xml-extensions
CVE-2020-8175 Vulnerability in maven package org.webjars.npm:jpeg-js
CVE-2020-7738 Vulnerability in npm package shiba
CVE-2021-27185 Vulnerability in npm package samba-client
CVE-2021-46708 Vulnerability in maven package org.webjars.npm:swagger-ui-dist