CVE-2022-40764
Last modified
CVE-2022-40764 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Snyk | Cli | < 1.996.0 |
| Snyk | Golang Cli | < 1.19.1 |
References
- https://github.com/snyk/cli/releases/tag/v1.996.0Patch, Release Notes, Third Party Advisory
- https://github.com/snyk/snyk-go-plugin/releases/tag/v1.19.1Patch, Release Notes, Third Party Advisory
- https://www.imperva.com/blog/how-scanning-your-projects-for-security-issues-can-lead-to-remote-code-execution/Exploit, Technical Description, Third Party Advisory
- https://github.com/snyk/cli/releases/tag/v1.996.0Patch, Release Notes, Third Party Advisory
- https://github.com/snyk/snyk-go-plugin/releases/tag/v1.19.1Patch, Release Notes, Third Party Advisory
- https://www.imperva.com/blog/how-scanning-your-projects-for-security-issues-can-lead-to-remote-code-execution/Exploit, Technical Description, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-40764?
How severe is CVE-2022-40764?
How do I fix CVE-2022-40764?
Are you affected by CVE-2022-40764?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
