{"id":"UBUNTU-CVE-2017-12791","details":"Directory traversal vulnerability in minion id validation in SaltStack Salt before 2016.11.7 and 2017.7.x before 2017.7.1 allows remote minions with incorrect credentials to authenticate to a master via a crafted minion ID.","modified":"2026-01-30T01:46:09.368402Z","published":"2017-08-23T14:29:00Z","related":["USN-4769-1"],"upstream":["CVE-2017-12791"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-12791"},{"type":"REPORT","url":"https://github.com/saltstack/salt/pull/42944"},{"type":"REPORT","url":"https://github.com/saltstack/salt/commit/6366e05d0d70bd709cc4233c3faf32a759d0173a"},{"type":"REPORT","url":"https://docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-12791"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4769-1"}],"affected":[{"package":{"name":"salt","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/salt@0.17.5+ds-1ubuntu0.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17.5+ds-1ubuntu0.1~esm1"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"salt-common","binary_version":"0.17.5+ds-1ubuntu0.1~esm1"},{"binary_name":"salt-master","binary_version":"0.17.5+ds-1ubuntu0.1~esm1"},{"binary_name":"salt-minion","binary_version":"0.17.5+ds-1ubuntu0.1~esm1"},{"binary_name":"salt-ssh","binary_version":"0.17.5+ds-1ubuntu0.1~esm1"},{"binary_name":"salt-syndic","binary_version":"0.17.5+ds-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12791.json"}},{"package":{"name":"salt","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/salt@2015.8.8+ds-1ubuntu0.1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2015.8.8+ds-1ubuntu0.1+esm1"}]}],"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","2015.8.8+ds-1ubuntu0.1~esm1","2015.8.8+ds-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"salt-api","binary_version":"2015.8.8+ds-1ubuntu0.1+esm1"},{"binary_name":"salt-cloud","binary_version":"2015.8.8+ds-1ubuntu0.1+esm1"},{"binary_name":"salt-common","binary_version":"2015.8.8+ds-1ubuntu0.1+esm1"},{"binary_name":"salt-master","binary_version":"2015.8.8+ds-1ubuntu0.1+esm1"},{"binary_name":"salt-minion","binary_version":"2015.8.8+ds-1ubuntu0.1+esm1"},{"binary_name":"salt-proxy","binary_version":"2015.8.8+ds-1ubuntu0.1+esm1"},{"binary_name":"salt-ssh","binary_version":"2015.8.8+ds-1ubuntu0.1+esm1"},{"binary_name":"salt-syndic","binary_version":"2015.8.8+ds-1ubuntu0.1+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12791.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}