CVE-2022-40764

snyk: Command Injection vulnerability affecting Snyk CLI

Published Oct 3, 2022 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-7108 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.
Github GHSA Github GHSA GHSA-hpqj-7cj6-hfj8 Snyk CLI affected by Command Injection vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 12:28 PM
Reserved
Sep 18, 2022, 12:00 AM
Status
Modified
Published
Oct 3, 2022, 3:15 PM
Modified
Jun 17, 2026, 5:02 AM
Severity
Moderate
Public date
Oct 3, 2022, 12:00 AM