CVE-2022-40764OS Command Injection in Snyk-cocoapods-plugin

Severity
8.8HIGHNVD
NVD7.8NVD6.3GHSA7.8OSV7.8
EPSS
3.4%
top 12.56%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 3
Latest updateJul 6

Description

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages18 packages

CVEListV5snyk/snyk-hex-pluginunspecified1.1.6
CVEListV5snyk/snyk-cocoapods-pluginunspecified2.5.3
NVDsnyk/cli< 1.996.0

Patches

🔴Vulnerability Details

6
OSV
snyk Code Injection vulnerability2023-07-06
GHSA
snyk Code Injection vulnerability2023-07-06
GHSA
Snyk plugins vulnerable to Command Injection2022-11-30
OSV
Snyk plugins vulnerable to Command Injection2022-11-30
OSV
Snyk CLI affected by Command Injection vulnerability2022-10-04

📋Vendor Advisories

2
Red Hat
snyk: snyk-hex-plugin: command injection2022-11-30
Red Hat
snyk: Command Injection vulnerability affecting Snyk CLI2022-10-03
CVE-2022-40764 — OS Command Injection | cvebase