Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-40764

7.8 · HIGH
Published Oct 3, 2022 snyk CWE-78 EPSS 0.55% (44th pctl)

Overview

CVE-2022-40764 is a high-severity vulnerability affecting snyk cli. It was published on October 3, 2022 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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

Check the references section for vendor advisories and patches from snyk. Update cli to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
snyk cli >= 0, < 1.996.0 Affected
snyk golang_cli >= 0, < 1.19.1 Affected

Frequently Asked Questions

What is CVE-2022-40764?

CVE-2022-40764 is a high-severity vulnerability affecting snyk cli. It was published on October 3, 2022 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2022-40764?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-40764?

Check the references section for vendor advisories and patches from snyk. Update cli to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-40764?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-40764 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.