Command Injection Affecting snyk package, versions <1.996.0
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-SNYK-3037342
- 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
to version 1.996.0 or higher.
Overview
snyk is an advanced tool that scans and monitors projects for security vulnerabilities.
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".