CVE-2022-40764: snyk cli
Vulnerability summary
CVE-2022-40764 is a high (CVSS 7.8) vulnerability in snyk cli. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 51% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 03-10-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
2 scores · 2 sources · 1 version- OSV · NpmEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.62%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.61% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (imperva.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Npm2 products
- snyk< 1.996.0
- snyk-go-plugin< 1.19.1
Snyk2 products
- cli< 1.996.0
- golang_cli< 1.19.1
2 vendors · 4 products
References
7 links- github.com/snyk/snyk-go-plugin/releases/tag/v1.19.1X Refsource MISCWEBPatchRelease NotesThird Party Advisory
- github.com/snyk/cliPACKAGE