{"schemaVersion":3,"id":"CVE-2017-12791","aliases":["SUSE-SU-2017:2666-1","SUSE-SU-2017:2674-1","SUSE-SU-2017:2676-1","GHSA-xxvj-8g5m-4qgw","PYSEC-2017-35","PYSEC-2017-151","UBUNTU-CVE-2017-12791"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2017-08-23T14:00:00.000Z","modified":"2024-08-05T18:51:07.262Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/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":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.0/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.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.04667,"percentile":0.91666,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.04667},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04111,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04667,"percentile":0.91666}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04111,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04667,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04667,"percentile":0.91666}]},"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-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"ubuntu","product":"salt","name":"salt","label":"salt","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/salt","purlType":"deb","versions":[{"text":"< 0.17.5+ds-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2015.8.8+ds-1ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.17.5+ds-1ubuntu0.1~esm1 | < 2015.8.8+ds-1ubuntu0.1+esm1","eol":null,"hubHref":null},{"vendor":"PyPI","product":"salt","name":"salt","label":"salt","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/salt","purlType":"pypi","versions":[{"text":"< 2016.11.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2017.7.0, < 2017.7.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2017.7, < 2017.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.7 | ≥ 2017.7.0, < 2017.7.1 | ≥ 2017.7, < 2017.7.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Enterprise Storage 3","name":"salt","label":"salt&distro=SUSE Enterprise Storage 3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Enterprise Storage 3","purlType":"rpm","versions":[{"text":"< 2016.11.4-46.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-46.7.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Enterprise Storage 4","name":"salt","label":"salt&distro=SUSE Enterprise Storage 4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Enterprise Storage 4","purlType":"rpm","versions":[{"text":"< 2016.11.4-46.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-46.7.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Linux Enterprise Module for Advanced Systems Management 12","name":"salt","label":"salt&distro=SUSE Linux Enterprise Module for Advanced Systems Management 12","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Linux Enterprise Module for Advanced Systems Management 12","purlType":"rpm","versions":[{"text":"< 2016.11.4-46.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-46.7.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Linux Enterprise Point of Sale 12 SP2","name":"salt","label":"salt&distro=SUSE Linux Enterprise Point of Sale 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Linux Enterprise Point of Sale 12 SP2","purlType":"rpm","versions":[{"text":"< 2016.11.4-46.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-46.7.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Linux Enterprise Server 11 SP3-CLIENT-TOOLS","name":"salt","label":"salt&distro=SUSE Linux Enterprise Server 11 SP3-CLIENT-TOOLS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Linux Enterprise Server 11 SP3-CLIENT-TOOLS","purlType":"rpm","versions":[{"text":"< 2016.11.4-43.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-43.7.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Linux Enterprise Server 11 SP4-CLIENT-TOOLS","name":"salt","label":"salt&distro=SUSE Linux Enterprise Server 11 SP4-CLIENT-TOOLS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Linux Enterprise Server 11 SP4-CLIENT-TOOLS","purlType":"rpm","versions":[{"text":"< 2016.11.4-43.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-43.7.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Manager Client Tools 12","name":"salt","label":"salt&distro=SUSE Manager Client Tools 12","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Manager Client Tools 12","purlType":"rpm","versions":[{"text":"< 2016.11.4-46.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-46.7.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Manager Proxy 3.0","name":"salt","label":"salt&distro=SUSE Manager Proxy 3.0","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Manager Proxy 3.0","purlType":"rpm","versions":[{"text":"< 2016.11.4-46.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-46.7.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Manager Proxy 3.1","name":"salt","label":"salt&distro=SUSE Manager Proxy 3.1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Manager Proxy 3.1","purlType":"rpm","versions":[{"text":"< 2016.11.4-4.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-4.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Manager Server 3.0","name":"salt","label":"salt&distro=SUSE Manager Server 3.0","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Manager Server 3.0","purlType":"rpm","versions":[{"text":"< 2016.11.4-46.7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-46.7.1","eol":null,"hubHref":null},{"vendor":"suse","product":"salt&distro=SUSE Manager Server 3.1","name":"salt","label":"salt&distro=SUSE Manager Server 3.1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/salt&distro=SUSE Manager Server 3.1","purlType":"rpm","versions":[{"text":"< 2016.11.4-4.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2016.11.4-4.3.1","eol":null,"hubHref":null},{"vendor":"saltstack","product":"salt","name":"Salt","label":"salt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2016.11.6","noFixRecorded":false,"fixedIn":null},{"text":"2017.7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2016.11.6 | 2017.7.0","eol":{"isEol":true,"eolDate":"2019-08-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"2017.7","label":"2017.7","eolFrom":"2019-08-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"2017.7.8"},"product":{"name":"salt","label":"Salt","category":"server-app"}},"hubHref":"/vendor/saltstack/salt"}],"affectedCount":14,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/saltstack/salt/pull/42944","label":"github.com/saltstack/salt/pull/42944","hostname":"github.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory","WEB","FIX","REPORT"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872399","label":"bugs.debian.org/cgi-bin/bugreport.cgi?bug=872399","hostname":"bugs.debian.org","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory","WEB","FIX"]},{"url":"http://www.securityfocus.com/bid/100384","label":"www.securityfocus.com/bid/100384","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory","Advisory","WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1482006","label":"bugzilla.redhat.com/show_bug.cgi?id=1482006","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory","WEB","FIX","REPORT"]},{"url":"https://docs.saltstack.com/en/latest/topics/releases/2017.7.1.html","label":"docs.saltstack.com/en/latest/topics/releases/2017.7.1.html","hostname":"docs.saltstack.com","tags":["X Refsource CONFIRM","Patch","Release Notes","Vendor Advisory","WEB","FIX"]},{"url":"https://docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html","label":"docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html","hostname":"docs.saltstack.com","tags":["X Refsource CONFIRM","Patch","Release Notes","Vendor Advisory","WEB","FIX","REPORT"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20172666-1/","label":"www.suse.com/support/update/announcement/2017/suse-su-20172666-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1051948","label":"bugzilla.suse.com/1051948","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1052264","label":"bugzilla.suse.com/1052264","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1053376","label":"bugzilla.suse.com/1053376","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1053955","label":"bugzilla.suse.com/1053955","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12791","label":"www.suse.com/security/cve/CVE-2017-12791","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20172674-1/","label":"www.suse.com/support/update/announcement/2017/suse-su-20172674-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1036125","label":"bugzilla.suse.com/1036125","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20172676-1/","label":"www.suse.com/support/update/announcement/2017/suse-su-20172676-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12791","label":"nvd.nist.gov/vuln/detail/CVE-2017-12791","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-151.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-151.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-35.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-35.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/saltstack/salt","label":"github.com/saltstack/salt","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-xxvj-8g5m-4qgw","label":"github.com/advisories/GHSA-xxvj-8g5m-4qgw","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-12791","label":"ubuntu.com/security/CVE-2017-12791","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/saltstack/salt/commit/6366e05d0d70bd709cc4233c3faf32a759d0173a","label":"github.com/saltstack/salt/commit/6366e05d0d70bd709cc4233c3faf32a759d0173a","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12791","label":"www.cve.org/CVERecord?id=CVE-2017-12791","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4769-1","label":"ubuntu.com/security/notices/USN-4769-1","hostname":"ubuntu.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-4769-1"],"duplicates":[],"related":["USN-4769-1"]},"timeline":[{"kind":"published","date":"2017-08-23T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T18:51:07.262Z","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-20T18:48:32.391Z","stale":false,"partial":false}}