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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-40758A Buffer Access with Incorrect Length Value vulnerablity in …7.5
- CVE-2022-40759A NULL pointer dereference issue in the TEE_MACCompareFinal …7.5
- CVE-2022-4076Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-40760A Buffer Access with Incorrect Length Value vulnerablity in …7.5
- CVE-2022-40761The function tee_obj_free in Samsung mTower through 0.3.0 al…7.5
- CVE-2022-40762A Memory Allocation with Excessive Size Value vulnerablity i…7.5
- CVE-2022-40765A vulnerability in the Edge Gateway component of Mitel MiVoi…6.8
- CVE-2022-40766Modern Campus Omni CMS (formerly OU Campus) 10.2.4 allows lo…9.8
- CVE-2022-40768drivers/scsi/stex.c in the Linux kernel through 5.19.9 allow…5.5
- CVE-2022-40769profanity through 1.60 has only four billion possible RNG in…7.5
- CVE-2022-4077Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-40770Zoho ManageEngine ServiceDesk Plus versions 13010 and prior …7.2
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
