Show plain JSON{"configurations": [{"nodes": [{"cpeMatch": [{"criteria": "cpe:2.3:a:snyk:cli:*:*:*:*:*:*:*:*", "matchCriteriaId": "FAECC330-73D3-4B0F-BDA2-03883FCB0964", "versionEndExcluding": "1.996.0", "vulnerable": true}, {"criteria": "cpe:2.3:a:snyk:golang_cli:*:*:*:*:*:*:*:*", "matchCriteriaId": "9788BA4F-1E86-43A9-8D61-ED4D5346DA6A", "versionEndExcluding": "1.19.1", "vulnerable": true}], "negate": false, "operator": "OR"}]}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Snyk CLI versiones anteriores a 1.996.0, permite una ejecuci\u00f3n de comandos arbitraria, afectando a los plugins de Snyk IDE y al paquete snyk npm. La explotaci\u00f3n podr\u00eda seguir la pr\u00e1ctica com\u00fan de ver archivos no confiables en el editor de c\u00f3digo de Visual Studio, por ejemplo. La demostraci\u00f3n original fue con metacaracteres de shell en el campo vendor.json ignore, afectando a snyk-go-plugin versiones anteriores a 1.19.1. Esto afecta, por ejemplo, al plugin Snyk TeamCity (que no se actualiza autom\u00e1ticamente) versiones anteriores a 20220930.142957"}], "id": "CVE-2022-40764", "lastModified": "2024-11-21T07:22:00.823", "metrics": {"cvssMetricV31": [{"cvssData": {"attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1"}, "exploitabilityScore": 1.8, "impactScore": 5.9, "source": "nvd@nist.gov", "type": "Primary"}]}, "published": "2022-10-03T15:15:18.477", "references": [{"source": "cve@mitre.org", "tags": ["Patch", "Release Notes", "Third Party Advisory"], "url": "https://github.com/snyk/cli/releases/tag/v1.996.0"}, {"source": "cve@mitre.org", "tags": ["Patch", "Release Notes", "Third Party Advisory"], "url": "https://github.com/snyk/snyk-go-plugin/releases/tag/v1.19.1"}, {"source": "cve@mitre.org", "tags": ["Patch", "Vendor Advisory"], "url": "https://support.snyk.io/hc/en-us/articles/7015908293789-CVE-2022-40764-Command-Injection-vulnerability-affecting-Snyk-CLI-versions-prior-to-1-996-0"}, {"source": "cve@mitre.org", "tags": ["Exploit", "Technical Description", "Third Party Advisory"], "url": "https://www.imperva.com/blog/how-scanning-your-projects-for-security-issues-can-lead-to-remote-code-execution/"}, {"source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Patch", "Release Notes", "Third Party Advisory"], "url": "https://github.com/snyk/cli/releases/tag/v1.996.0"}, {"source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Patch", "Release Notes", "Third Party Advisory"], "url": "https://github.com/snyk/snyk-go-plugin/releases/tag/v1.19.1"}, {"source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Patch", "Vendor Advisory"], "url": "https://support.snyk.io/hc/en-us/articles/7015908293789-CVE-2022-40764-Command-Injection-vulnerability-affecting-Snyk-CLI-versions-prior-to-1-996-0"}, {"source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Exploit", "Technical Description", "Third Party Advisory"], "url": "https://www.imperva.com/blog/how-scanning-your-projects-for-security-issues-can-lead-to-remote-code-execution/"}], "sourceIdentifier": "cve@mitre.org", "vulnStatus": "Modified", "weaknesses": [{"description": [{"lang": "en", "value": "CWE-78"}], "source": "nvd@nist.gov", "type": "Primary"}]}