Vulnerabilities / CVE-2019-17361

critical

CVE-2019-17361

salt: salt-api NET API with the ssh client enabled is vulnerable to command injection

Published Modified CWE 77
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Photon OS. Rated lower by Red Hat (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 1.0salt2018.3.3-2.ph1
pip::GitHub Security Advisory pipsalt2019.2.3
alpine 3.12salt2019.2.3-r0
alpine 3.13salt2019.2.3-r0
alpine 3.14salt2019.2.3-r0
alpine 3.15salt2019.2.3-r0
alpine 3.16salt2019.2.3-r0
alpine 3.17salt2019.2.3-r0
alpine 3.18salt2019.2.3-r0
alpine 3.19salt2019.2.3-r0
alpine 3.20salt2019.2.3-r0
alpine 3.21salt2019.2.3-r0
Show all 22 entries from 22 sources
SourcePackageFixed in
Photon OS 1.0salt2018.3.3-2.ph1
pip::GitHub Security Advisory pipsalt2019.2.3
alpine 3.12salt2019.2.3-r0
alpine 3.13salt2019.2.3-r0
alpine 3.14salt2019.2.3-r0
alpine 3.15salt2019.2.3-r0
alpine 3.16salt2019.2.3-r0
alpine 3.17salt2019.2.3-r0
alpine 3.18salt2019.2.3-r0
alpine 3.19salt2019.2.3-r0
alpine 3.20salt2019.2.3-r0
alpine 3.21salt2019.2.3-r0
alpine 3.22salt2019.2.3-r0
alpine 3.23salt2019.2.3-r0
alpine 3.24salt2019.2.3-r0
alpine edgesalt2019.2.3-r0
debian 10salt2018.3.4+dfsg1-6+deb10u1
debian 9salt2016.11.2+ds-1+deb9u3
ubuntu 16.04salt2015.8.8+ds-1ubuntu0.1
ubuntu 16.04-ESMsalt2015.8.8+ds-1ubuntu0.1
ubuntu 18.04salt2017.7.4+dfsg1-1ubuntu18.04.2
ubuntu 18.04-ESMsalt2017.7.4+dfsg1-1ubuntu18.04.2

References

All 12 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.