Vulnerability · Published Feb 27, 2021 · Assigned by mitre

CVE-2021-3197

Critical 9.8

In plain English

A critical-severity security flaw in the salt package (PyPI). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 71.7% (higher than 99.4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)71.7%top 0.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIsalt2015.8.13GHSA-8rp6-x3r7-5qw3
PyPIsalt2016.11.5GHSA-8rp6-x3r7-5qw3
PyPIsalt2016.11.10GHSA-8rp6-x3r7-5qw3
PyPIsalt2017.7.8GHSA-8rp6-x3r7-5qw3
PyPIsaltno fix listedGHSA-8rp6-x3r7-5qw3
PyPIsalt2019.2.8GHSA-8rp6-x3r7-5qw3
PyPIsalt3000.7GHSA-8rp6-x3r7-5qw3
PyPIsalt3001.5GHSA-8rp6-x3r7-5qw3
PyPIsalt3002.3GHSA-8rp6-x3r7-5qw3
PyPIsalt2015.8.10, 2015.8.13, 2016.11.10, 2016.11.3, 2016.11.5, 2016.3.4, 2016.3.6, 2016.3.8, 2017.7.8, 2019.2.0rc1, 2019.2.5, 2019.2.8, 3000.6, 3001.4, 3002.5PYSEC-2021-57

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References