CVE-2021-3197 in the critical feed json
SaltStack Salt is vulnerable to shell injection via ProxyCommand argument
published 2021-02-27 5 y ago modified 2026-06-17 4 mo ago also GHSA-8rp6-x3r7-5qw3 , PYSEC-2021-57 , EUVD-2021-0234
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 71.7%
- EPSS 71.7% chance of exploitation in 30 days, percentile 99.4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi salt 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.0rc1, 2019.2.5, 2019.2.8, 3000.6, 3000.7, 3001.4, 3001.5, 3002.3, 3002.5
- saltstack salt 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.5, 2019.2.8, 3000.6, 3001.4, 3002.5
- salt Ubuntu Pro 16.04 LTS 2015.8.8+ds-1ubuntu0.1+esm2
- salt Ubuntu Pro 18.04 LTS 2017.7.4+dfsg1-1ubuntu18.04.2+esm1
ubuntu advisories UBUNTU-CVE-2021-3197
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- release-notes-susemanager Manager Server 4.1 4.1.5.1-3.38.1
- release-notes-susemanager-proxy Manager Retail Branch Server 4.1, Manager Proxy 4.1 4.1.5.1-3.26.1
- release-notes-susemanager Manager Server 4.0 4.0.12.1-3.68.1
- release-notes-susemanager-proxy Manager Retail Branch Server 4.0, Manager Proxy 4.0 4.0.12.1-0.16.52.1
- salt SLES 15 SP1-BCL, SLE Module for Server Applications 15 SP2, SLE Module for Python 2 15 SP2 +9 more 3000-24.1
- salt SLES 11 SP4-CLIENT-TOOLS, SLES 11 SP3-CLIENT-TOOLS 2016.11.10-43.69.1
- salt SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 3000-5.106.1
- salt SLE Point of Sale 12 SP2, SLE Module for Advanced Systems Management 12, Manager Client Tools 12 3000-46.129.1
suse advisories SUSE-RU-2021:0633-1SUSE-RU-2021:0632-1SUSE-SU-2021:0631-1SUSE-SU-2021:0630-1SUSE-SU-2021:14650-1SUSE-SU-2021:0628-1
- salt openSUSE Leap 15.2 3000-lp152.3.27.1
opensuse advisories openSUSE-SU-2021:0347-1
- salt Alpine 3.13 3002.5-r0
alpine advisories ALPINE-CVE-2021-3197
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3197 updated cvss 7.5
salt: Shell injection by including ProxyCommand in an argument
-
Red Hat Ceph Storage 2 salt, salt-minionaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
71.68% chance of exploitation in the next 30 days, higher than 99.4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | salt | <2015.8.13 >=2016.3.0, <2016.11.5 >=2016.11.7, <2016.11.10 >=2017.5.0, <2017.7.8 >=2018.2.0, <=2018.3.5 >=2019.2.0, <2019.2.8 >=3000, <3000.7 >=3001, <3001.5 >=3002, <3002.3 <2015.8.10 >=2015.8.11, <2015.8.13 >=2016.3.0, <2016.3.4 >=2016.3.5, <2016.3.6 >=2016.3.7, <2016.3.8 >=2016.11.0, <2016.11.3 >=2016.11.4, <2016.11.5 >=2017.7.0, <2017.7.8 >=2018.3.0rc1, <2019.2.0rc1 >=2019.2.0, <2019.2.5 >=2019.2.6, <2019.2.8 >=3000, <3000.6 >=3001, <3001.4 >=3002, <3002.5 |
2015.8.13 2016.11.5 2016.11.10 2017.7.8 2019.2.8 3000.7 3001.5 3002.3 2015.8.10 2016.3.4 2016.3.6 2016.3.8 2016.11.3 2019.2.0rc1 2019.2.5 3000.6 3001.4 3002.5 |
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/
vendor-advisory, mailing-list, third-party-advisory
-
security.gentoo.org
/glsa/202103-01
vendor-advisory, web, third-party-advisory, advisory
-
debian.org
/security/2021/dsa-5011
vendor-advisory, web, third-party-advisory
-
security.gentoo.org
/glsa/202310-22
vendor-advisory, web, third-party-advisory
-
saltproject.io
/security_announcements/active-saltstack-cve-release-2021-feb-25/
vendor-advisory, web
-
github.com
/saltstack/salt/releases
web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/11/msg00009.html
mailing-list, web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/01/msg00000.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-3197
advisory
-
saltproject.io
/security_announcements/active-saltstack-cve-release-2021-feb-25
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB
web
-
github.com
/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.3.rst#L38
web
-
github.com
/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.5.rst#L38
web
-
github.com
/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.7.rst#L38
web
-
github.com
/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/CHANGELOG.md?plain=1#L2375
web
-
github.com
/saltstack/salt
package
-
github.com
/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-57.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/
web
-
github.com
/advisories/GHSA-8rp6-x3r7-5qw3
advisory
Sources
- CVE List CVE-2021-3197
- GitHub Advisory GHSA-8rp6-x3r7-5qw3
- NVD CVE-2021-3197
- OSV PYSEC-2021-57
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.