Arbitrary Command Execution Vulnerability in Snyk CLI and IDE Plugins
CVE-2022-40764
7.8HIGH
What is CVE-2022-40764?
A vulnerability exists in Snyk CLI that allows arbitrary command execution. This issue can be exploited through untrusted file handling in IDEs such as Visual Studio Code, particularly when shell metacharacters are included in the vendor.json ignore field. The vulnerability affects multiple versions of Snyk-related products, potentially allowing attackers to execute commands with elevated privileges. Users are encouraged to update to the latest versions of Snyk CLI and associated plugins to mitigate this risk, as the affected versions fail to address the underlying problems inherent in command execution processes.
