{"id":"UBUNTU-CVE-2019-17361","details":"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.","modified":"2026-04-08T13:30:31.935880Z","published":"2020-01-17T02:15:00Z","related":["USN-4459-1"],"upstream":["CVE-2019-17361"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-17361"},{"type":"REPORT","url":"https://docs.saltstack.com/en/latest/topics/releases/2019.2.3.html#security-fix"},{"type":"REPORT","url":"https://github.com/saltstack/salt/commits/master"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4459-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-17361"}],"affected":[{"package":{"name":"salt","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/salt@0.17.5+ds-1ubuntu0.1~esm5?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.0-1","0.16.4-2","0.17.1+dfsg-1","0.17.2-1","0.17.2-2","0.17.2-3","0.17.4-1","0.17.4-2","0.17.5-1","0.17.5+ds-1","0.17.5+ds-1ubuntu0.1~esm1","0.17.5+ds-1ubuntu0.1~esm2","0.17.5+ds-1ubuntu0.1~esm4","0.17.5+ds-1ubuntu0.1~esm5"],"ecosystem_specific":{"binaries":[{"binary_name":"salt-common","binary_version":"0.17.5+ds-1ubuntu0.1~esm5"},{"binary_version":"0.17.5+ds-1ubuntu0.1~esm5","binary_name":"salt-master"},{"binary_name":"salt-minion","binary_version":"0.17.5+ds-1ubuntu0.1~esm5"},{"binary_name":"salt-ssh","binary_version":"0.17.5+ds-1ubuntu0.1~esm5"},{"binary_name":"salt-syndic","binary_version":"0.17.5+ds-1ubuntu0.1~esm5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17361.json"}},{"package":{"name":"salt","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/salt@2015.8.8+ds-1ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2015.8.8+ds-1ubuntu0.1"}]}],"versions":["2015.5.3+ds-1","2015.8.1+ds-2","2015.8.3+ds-1","2015.8.3+ds-2","2015.8.3+ds-3","2015.8.5+ds-1","2015.8.7+ds-1","2015.8.8+ds-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"salt-api","binary_version":"2015.8.8+ds-1ubuntu0.1"},{"binary_name":"salt-cloud","binary_version":"2015.8.8+ds-1ubuntu0.1"},{"binary_name":"salt-common","binary_version":"2015.8.8+ds-1ubuntu0.1"},{"binary_name":"salt-master","binary_version":"2015.8.8+ds-1ubuntu0.1"},{"binary_name":"salt-minion","binary_version":"2015.8.8+ds-1ubuntu0.1"},{"binary_name":"salt-proxy","binary_version":"2015.8.8+ds-1ubuntu0.1"},{"binary_name":"salt-ssh","binary_version":"2015.8.8+ds-1ubuntu0.1"},{"binary_name":"salt-syndic","binary_version":"2015.8.8+ds-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17361.json"}},{"package":{"name":"salt","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/salt@2017.7.4+dfsg1-1ubuntu18.04.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2017.7.4+dfsg1-1ubuntu18.04.2"}]}],"versions":["2016.11.5+ds-1","2016.11.8+dfsg1-1","2017.7.2+dfsg1-2ubuntu1","2017.7.3+dfsg1-1","2017.7.4+dfsg1-1","2017.7.4+dfsg1-1ubuntu18.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"salt-api","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2"},{"binary_name":"salt-cloud","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2"},{"binary_name":"salt-common","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2"},{"binary_name":"salt-master","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2"},{"binary_name":"salt-minion","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2"},{"binary_name":"salt-proxy","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2"},{"binary_name":"salt-ssh","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2"},{"binary_name":"salt-syndic","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17361.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}