# CVE-2019-17361: salt-api: In SaltStack Salt through 2019.2.0, the salt-api NET API with the ssh client enabled is vulnerable to command injection

CVE-2019-17361 is fixed in 8 products on 1 platform, first by salt-api 2017.7.4+dfsg1-1ubuntu18.04.2, released April 30, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2019-17361
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.1511
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 16, 2020

## Description

In SaltStack Salt through 2019.2.0, the salt-api NET API with the ssh client enabled is vulnerable to command injection. This allows an unauthenticated attacker with network access to the API endpoint to execute arbitrary code on the salt-api host.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | salt-api Ubuntu 18.04.6 LTS (bionic) | 2017.7.4+dfsg1-1ubuntu18.04.2 | [salt-api 2017.7.4+dfsg1-1ubuntu18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-salt-api-2017.7.4-dfsg1-1ubuntu18.04.2.md) | Apr 30, 2020 |
| Linux | salt-cloud Ubuntu 18.04.6 LTS (bionic) | 2017.7.4+dfsg1-1ubuntu18.04.2 | [salt-cloud 2017.7.4+dfsg1-1ubuntu18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-salt-cloud-2017.7.4-dfsg1-1ubuntu18.04.2.md) | Apr 30, 2020 |
| Linux | salt-common Ubuntu 18.04.6 LTS (bionic) | 2017.7.4+dfsg1-1ubuntu18.04.2 | [salt-common 2017.7.4+dfsg1-1ubuntu18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-salt-common-2017.7.4-dfsg1-1ubuntu18.04.2.md) | Apr 30, 2020 |
| Linux | salt-master Ubuntu 18.04.6 LTS (bionic) | 2017.7.4+dfsg1-1ubuntu18.04.2 | [salt-master 2017.7.4+dfsg1-1ubuntu18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-salt-master-2017.7.4-dfsg1-1ubuntu18.04.2.md) | Apr 30, 2020 |
| Linux | salt-minion Ubuntu 18.04.6 LTS (bionic) | 2017.7.4+dfsg1-1ubuntu18.04.2 | [salt-minion 2017.7.4+dfsg1-1ubuntu18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-salt-minion-2017.7.4-dfsg1-1ubuntu18.04.2.md) | Apr 30, 2020 |
| Linux | salt-proxy Ubuntu 18.04.6 LTS (bionic) | 2017.7.4+dfsg1-1ubuntu18.04.2 | [salt-proxy 2017.7.4+dfsg1-1ubuntu18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-salt-proxy-2017.7.4-dfsg1-1ubuntu18.04.2.md) | Apr 30, 2020 |
| Linux | salt-ssh Ubuntu 18.04.6 LTS (bionic) | 2017.7.4+dfsg1-1ubuntu18.04.2 | [salt-ssh 2017.7.4+dfsg1-1ubuntu18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-salt-ssh-2017.7.4-dfsg1-1ubuntu18.04.2.md) | Apr 30, 2020 |
| Linux | salt-syndic Ubuntu 18.04.6 LTS (bionic) | 2017.7.4+dfsg1-1ubuntu18.04.2 | [salt-syndic 2017.7.4+dfsg1-1ubuntu18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-salt-syndic-2017.7.4-dfsg1-1ubuntu18.04.2.md) | Apr 30, 2020 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
