Skip to main content
← All vulnerabilities
CVE-2022-40764GHSA-HPQJ-7CJ6-HFJ8

Snyk CLI before 1.996.0 allows arbitrary command execution, affecting Snyk IDE plugins and the snyk npm package.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.996.0, 1.19.1
None on Exploit-DB, Metasploit or GitHub

Summary

Snyk CLI before 1.996.0 allows arbitrary command execution, affecting Snyk IDE plugins and the snyk npm package. Exploitation could follow from the common practice of viewing untrusted files in the Visual Studio Code editor, for example. The original demonstration was with shell metacharacters in the vendor.json ignore field, affecting snyk-go-plugin before 1.19.1. This affects, for example, the Snyk TeamCity plugin (which does not update automatically) before 20220930.142957.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • snyknpm

    fixed in 1.996.0

  • snyk-go-pluginnpm

    fixed in 1.19.1

References 4

GitHub · snyk/snyk-go-plugin

GitHub · snyk/cli

imperva.com

support.snyk.io