CVE-2021-3197

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
71.684%
chance of exploitation in the next 30 days
higher than 99.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2021-02-27Published by the CNA00:00 UTC
  2. 2022-05-24GitHub advisory published (GHSA-8rp6-x3r7-5qw3)451 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-8rp6-x3r7-5qw3, affected packages:

PackageVulnerable versionsFixed in
PyPI saltbefore 2015.8.132015.8.13
PyPI saltfrom 2016.11.7 before 2016.11.102016.11.10
PyPI saltfrom 2016.3.0 before 2016.11.52016.11.5
PyPI saltfrom 2017.5.0 before 2017.7.82017.7.8
PyPI saltfrom 2018.2.0 through 2018.3.5

4 more affected packages in the advisory.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
saltstack saltbefore 2015.8.10fixed in 2015.8.10from 2015.8.11 before 2015.8.13fixed in 2015.8.13from 2016.11.7 before 2016.11.10fixed in 2016.11.10from 2016.3.9 before 2016.11.3fixed in 2016.11.3from 2016.11.4 before 2016.11.5fixed in 2016.11.5(+10 more)2015.8.102015.8.132016.11.102016.11.32016.11.5
debian debian_linux10.0no fix listed11.0no fix listed9.0no fix listednot listednot listednot listed
fedoraproject fedora32no fix listed33no fix listed34no fix listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources