{"schemaVersion":3,"id":"CVE-2019-17361","aliases":["GHSA-q53j-p6r2-g2v4","PYSEC-2020-177","UBUNTU-CVE-2019-17361"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-01-17T01:16:29.000Z","modified":"2024-08-05T01:40:15.336Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.1516,"percentile":0.9672,"severity":"medium","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.06599999999999939,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.15226},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.1516,"percentile":0.9672}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.15226,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1516,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.1516,"percentile":0.9672}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"16.04 | 18.04","eol":{"isEol":true,"eolDate":"2021-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"16.04","label":"16.04 'Xenial Xerus' (LTS)","eolFrom":"2021-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"16.04.7"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"ubuntu","product":"salt","name":"salt","label":"salt","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/salt","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2015.8.8+ds-1ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2017.7.4+dfsg1-1ubuntu18.04.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2015.8.8+ds-1ubuntu0.1 | < 2017.7.4+dfsg1-1ubuntu18.04.2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.1","eol":{"isEol":true,"eolDate":"2021-02-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.1","label":"Leap 15.1","eolFrom":"2021-02-02T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"PyPI","product":"salt","name":"salt","label":"salt","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/salt","purlType":"pypi","versions":[{"text":"< 2019.2.3","noFixRecorded":false,"fixedIn":null},{"text":"< 2019.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2019.2.3 | < 2019.2.1","eol":null,"hubHref":null},{"vendor":"saltstack","product":"salt","name":"Salt","label":"salt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2019.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2019.2.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"salt","label":"Salt","category":"server-app"}},"hubHref":"/vendor/saltstack/salt"}],"affectedCount":6,"eol":{"hasEol":true,"count":3},"references":[{"url":"https://github.com/saltstack/salt/commits/master","label":"github.com/saltstack/salt/commits/master","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Patch","Third Party Advisory"]},{"url":"https://docs.saltstack.com/en/latest/topics/releases/2019.2.3.html#security-fix","label":"docs.saltstack.com/en/latest/topics/releases/2019.2.3.html","hostname":"docs.saltstack.com","tags":["X Refsource CONFIRM","WEB","REPORT","Release Notes","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00026.html","label":"lists.opensuse.org/opensuse-security-announce/2020-03/msg00026.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB","Mailing List","Third Party Advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4676","label":"www.debian.org/security/2020/dsa-4676","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Advisory","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4459-1/","label":"usn.ubuntu.com/4459-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-17361","label":"nvd.nist.gov/vuln/detail/CVE-2019-17361","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2020-177.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2020-177.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/saltstack/salt","label":"github.com/saltstack/salt","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://usn.ubuntu.com/4459-1","label":"usn.ubuntu.com/4459-1","hostname":"usn.ubuntu.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-q53j-p6r2-g2v4","label":"github.com/advisories/GHSA-q53j-p6r2-g2v4","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-17361","label":"ubuntu.com/security/CVE-2019-17361","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4459-1","label":"ubuntu.com/security/notices/USN-4459-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-17361","label":"www.cve.org/CVERecord?id=CVE-2019-17361","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["DSA-4676-1","OPENSUSE-SU-2020:0357-1","SUSE-RU-2020:0625-1","SUSE-RU-2020:0685-1","SUSE-SU-2020:0684-1","USN-4459-1"],"duplicates":[],"related":["OPENSUSE-SU-2020:0357-1","SUSE-RU-2020:0625-1","SUSE-RU-2020:0685-1","SUSE-SU-2020:0684-1","USN-4459-1"]},"timeline":[{"kind":"published","date":"2020-01-17T01:16:29.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T01:40:15.336Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:03:21.215Z","stale":false,"partial":false}}