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-27185 Vulnerability in npm package samba-client
CVE-2023-31717 Vulnerability in npm package @frangoteam/fuxa
CVE-2022-27202 Vulnerability in maven package org.jenkins-ci.plugins:extended-choice-parameter
CVE-2022-0084 Vulnerability in maven package org.jboss.xnio:xnio-api
CVE-2017-5645 Vulnerability in maven package org.apache.logging.log4j:log4j-core