CVE-2021-3197
JSON

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 packageVersionsReported by
Unspecified productn/aCVE 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 moreGitHub Advisory Database, PyPA Advisory Database
saltstack saltbefore 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 moreNVD
fedoraproject fedora32, 33, 34NVD
debian debian_linux9.0, 10.0, 11.0NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV: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

https://github.com/saltstack/salt/releasesthird-party-advisory, web
https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/mailing-list, third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/mailing-list, third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/mailing-list, third-party-advisory, vendor-advisory
https://security.gentoo.org/glsa/202103-01advisory, third-party-advisory, vendor-advisory, web
https://lists.debian.org/debian-lts-announce/2021/11/msg00009.htmlmailing-list, third-party-advisory, web
https://www.debian.org/security/2021/dsa-5011third-party-advisory, vendor-advisory, web
https://lists.debian.org/debian-lts-announce/2022/01/msg00000.htmlmailing-list, third-party-advisory, web
https://security.gentoo.org/glsa/202310-22third-party-advisory, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-3197advisory
https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25web

Sources

SourceRecordLicence
CVE ListCVE-2021-3197 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-8rp6-x3r7-5qw3 changed 2024-10-23CC-BY-4.0
NVDCVE-2021-3197 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-57 changed 2026-06-10CC-BY-4.0