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.
CVE-2022-40764 - High Severity Vulnerability
Vulnerable Library - snyk-1.360.0.tgz
snyk library and cli utility
Library home page: https://registry.npmjs.org/snyk/-/snyk-1.360.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/snyk/package.json
Dependency Hierarchy: - :x: **snyk-1.360.0.tgz** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2022-10-03
URL: CVE-2022-40764
CVSS 3 Score Details (7.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-hpqj-7cj6-hfj8
Release Date: 2022-10-03
Fix Resolution: 1.996.0
Step up your Open Source Security Game with Mend here