Command Injection Affecting snyk-go-plugin package, versions <1.19.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-SNYKGOPLUGIN-3037316
- published 30 Sep 2022
- disclosed 30 Sep 2022
- credit Ron Masas, Imperva
Introduced: 30 Sep 2022
CVE-2022-40764 Open this link in a new tabHow to fix?
Upgrade snyk-go-plugin
to version 1.19.1 or higher.
Overview
snyk-go-plugin is a Snyk plugin that provides metadata for Golang projects.
Affected versions of this package are vulnerable to Command Injection via the snyk-go-plugin
which is used by the Snyk CLI tool.
A successful exploit, allows attackers to run arbitrary commands on the host system where the Snyk CLI is installed. In order to exploit this vulnerability, a target would have to execute the “snyk test” command on untrusted files. As developers are unlikely to run "snyk test" on untrusted files, an attacker might have to trick them into opening a malicious file before running "snyk test".