Overview
- 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.
- Source
- cve@mitre.org
- NVD status
- Analyzed
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 7.8
- Impact score
- 5.9
- Exploitability score
- 1.8
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity
- HIGH
Weaknesses
- nvd@nist.gov
- CWE-78
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:snyk:cli:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FAECC330-73D3-4B0F-BDA2-03883FCB0964", "versionEndExcluding": "1.996.0" }, { "criteria": "cpe:2.3:a:snyk:golang_cli:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "9788BA4F-1E86-43A9-8D61-ED4D5346DA6A", "versionEndExcluding": "1.19.1" } ], "operator": "OR" } ] } ]