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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 10 | salt | 2018.3.4+dfsg1-6+deb10u1 | DSA-4676-1 |
| Debian 9 | salt | 2016.11.2+ds-1+deb9u3 | DSA-4676-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | salt | 2017.7.4+dfsg1-1ubuntu18.04.2 | USN-4459-1 |
| Ubuntu 16.04 LTS | salt | 2015.8.8+ds-1ubuntu0.1 | USN-4459-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | salt | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | salt | 2019.2.0-6.24.1 | SUSE-SU-2020:0684-1 |
| SLES 15 | salt | 2019.2.0-5.64.1 | SUSE-RU-2020:0625-1 |
| SLES 12 | salt | 2019.2.0-46.88.1 | SUSE-RU-2020:0685-1 |
| SLES 2 | salt | 2019.2.0-6.24.1 | SUSE-SU-2020:0684-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 | salt | 2019.2.0-5.64.1 | SUSE-RU-2020:0625-1 |
| SLE HPC 15 | salt | 2019.2.0-5.64.1 | SUSE-RU-2020:0625-1 |
| SUSE Manager Server 3.2 | salt | 2019.2.0-46.88.1 | SUSE-RU-2020:0685-1 |
| SUSE Manager Proxy 3.2 | salt | 2019.2.0-46.88.1 | SUSE-RU-2020:0685-1 |
| SUSE Manager Client Tools 12 | salt | 2019.2.0-46.88.1 | SUSE-RU-2020:0685-1 |
| SUSE Linux Enterprise Point of Sale 12 SP2 | salt | 2019.2.0-46.88.1 | SUSE-RU-2020:0685-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | salt | 2019.2.0-lp151.5.12.1 | openSUSE-SU-2020:0357-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | salt | 2019.2.3-r0 | — |
| Alpine v3.23 | salt | 2019.2.3-r0 | — |
| Alpine v3.22 | salt | 2019.2.3-r0 | — |
| Alpine v3.21 | salt | 2019.2.3-r0 | — |
| Alpine v3.20 | salt | 2019.2.3-r0 | — |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | salt | 2019.2.3-r0 | — |
| Alpine v3.18 | salt | 2019.2.3-r0 | — |
| Alpine v3.17 | salt | 2019.2.3-r0 | — |
| Alpine v3.16 | salt | 2019.2.3-r0 | — |
| Alpine v3.15 | salt | 2019.2.3-r0 | — |
| Alpine v3.14 | salt | 2019.2.3-r0 | — |
| Alpine v3.13 | salt | 2019.2.3-r0 | — |
| Alpine v3.12 | salt | 2019.2.3-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | salt | < 2019.2.3 | 2019.2.3 | GHSA-q53j-p6r2-g2v4 |
| PyPI | salt | < 2019.2.1 | 2019.2.1 | PYSEC-2020-177 |
Advisories 6
- USN-4459-1 salt vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-4676-1 salt - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2020:0357-1 Security update for salt SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2020:0625-1 Recommended update for Salt SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0684-1 Security update for salt SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2020:0685-1 Recommended update for Salt SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/saltstack/salt/commits/master
- https://docs.saltstack.com/en/latest/topics/releases/2019.2.3.html#security-fix
- openSUSE-SU-2020:0357 vendor-advisory
- DSA-4676 vendor-advisory
- USN-4459-1 vendor-advisory