GHSA-8r7r-x48r-pf8f CVE-2017-5200 PYSEC-2017-39
SaltStack Salt arbitrary command execution in Salt-api via ssh_client
- Severity
- 8.8 / 10
- High · CVSS 3.0
- Exploit chance (EPSS)
- 3.23%
- Chance of exploitation in the next 30 days. Higher than 88.26% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- —
- Not classified
- Fix
2015.8.13- Upgrade salt to this version or later
Description
Salt-api in SaltStack Salt before 2015.8.13, 2016.3.x before 2016.3.5, and 2016.11.x before 2016.11.2 allows arbitrary command execution on a salt-master via Salt's ssh_client.
Affected versions
PyPI
| Package | Vulnerable | Fixed in |
|---|---|---|
| salt | < 2015.8.13 |
2015.8.13 |
| salt | >= 2016.3.0, < 2016.3.5 |
2016.3.5 |
| salt | >= 2016.11.0, < 2016.11.2 |
2016.11.2 |
| salt | < 2015.8.13>= 2016.3, < 2016.3.5>= 2016.11, < 2016.11.2 |
2015.8.132016.3.52016.11.2 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
salt PyPI → 2015.8.13
- pip
pip install --upgrade "salt>=2015.8.13"- poetry
poetry add "salt>=2015.8.13"- uv
uv add "salt>=2015.8.13"
Severity breakdown
CVSS 3.0 8.8
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
References
Advisories
Packages
Other links
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| CVE-2020-16846 SaltStack Salt Command Injection in netapi ssh client | Critical Known exploited | Also affects salt |
| CVE-2020-11652 SaltStack Salt is vulnerable Arbitrary Directory Access | High Known exploited | Also affects salt |
| CVE-2020-11651 SaltStack Salt Unauthenticated Remote Code Execution | Critical Known exploited | Also affects salt |
| GHSA-vcf3-26xf-fw4m Salt Authentication Protocol Version Downgrade Allows Minion Impersonation | Medium | Also affects salt |
| GHSA-77w2-v593-vxvv Salt junos Module Vulnerable to Code Injection via Specially Crafted YAML Payload | High | Also affects salt |
| GHSA-8pcp-r83j-fc92 Salt vulnerable to directory traversal attack in file receiving method | High | Also affects salt |
| GHSA-989c-m532-p2hv Salt's worker process vulnerable to denial of service through file read operation | Medium | Also affects salt |
| GHSA-7f3f-x5f5-79gw Salt's file contents overwrite the VirtKey class | Medium | Also affects salt |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor