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://github.com/yarnpkg/yarn/pull/7831
https://hackerone.com/reports/730239
Related Vulnerabilities
CVE-2021-36373 Vulnerability in maven package org.apache.ant:ant
CVE-2021-25912 Vulnerability in npm package dotty
CVE-2022-31160 Vulnerability in maven package org.webjars.npm:jquery-ui
CVE-2021-35517 Vulnerability in maven package org.apache.commons:commons-compress
CVE-2022-22984 Vulnerability in npm package @snyk/snyk-hex-plugin