CVE-2021-3197
9.8critical
SaltStack Salt is vulnerable to shell injection via ProxyCommand argument
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 72.0% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-8rp6-x3r7-5qw3PYSEC-2021-57
Description
An issue was discovered in SaltStack Salt before 3002.5. The salt-api's ssh client is vulnerable to a shell injection by including ProxyCommand in an argument, or via ssh_options provided in an API request.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| salt (PyPI) | before 2015.8.13, from 2016.3.0 before 2016.11.5, from 2016.11.7 before 2016.11.10, from 2017.5.0 before 2017.7.8, from 2018.2.0 up to 2018.3.5, from 2019.2.0 before 2019.2.8, from 3000 before 3000.7, from 3001 before 3001.5 and 15 more | GitHub Advisory Database, PyPA Advisory Database |
| saltstack salt | before 2015.8.10, from 2015.8.11 before 2015.8.13, from 2016.3.0 before 2016.3.4, from 2016.3.5 before 2016.3.6, from 2016.3.7 before 2016.3.8, from 2016.3.9 before 2016.11.3, from 2016.11.4 before 2016.11.5, from 2016.11.7 before 2016.11.10 and 7 more | NVD |
| fedoraproject fedora | 32, 33, 34 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
An issue was discovered in SaltStack Salt before 3002.5. The salt-api's ssh client is vulnerable to a shell injection by including ProxyCommand in an argument, or via ssh_options provided in an API request.
NVD (es)
Se detectó un problema en SaltStack Salt versiones anteriores a 3002.5. El cliente ssh de salt-api es vulnerable a una inyección de shell al incluir ProxyCommand en un argumento, o por medio de ssh_options proporcionadas en una petición de API
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3197 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8rp6-x3r7-5qw3 changed 2024-10-23 | CC-BY-4.0 |
| NVD | CVE-2021-3197 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-57 changed 2026-06-10 | CC-BY-4.0 |