{"api_version":"1","generated_at":"2026-07-23T09:21:51+00:00","cve":"CVE-2017-12791","urls":{"html":"https://cve.report/CVE-2017-12791","api":"https://cve.report/api/cve/CVE-2017-12791.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-12791","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-12791"},"summary":{"title":"CVE-2017-12791","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-08-23 14:29:00","updated_at":"2017-08-29 16:43:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://docs.saltstack.com/en/latest/topics/releases/2017.7.1.html","name":"https://docs.saltstack.com/en/latest/topics/releases/2017.7.1.html","refsource":"CONFIRM","tags":["Patch","Release Notes","Vendor Advisory"],"title":"Salt 2017.7.1 Release Notes","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1482006","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1482006","refsource":"MISC","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"1482006 – (CVE-2017-12791) CVE-2017-12791 salt: Directory traversal vulnerability on salt-master via crafted minion IDs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/saltstack/salt/pull/42944","name":"https://github.com/saltstack/salt/pull/42944","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"[2016.11] Add clean_id function to salt.utils.verify.py by Ch3LL · Pull Request #42944 · saltstack/salt · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html","name":"https://docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html","refsource":"CONFIRM","tags":["Patch","Release Notes","Vendor Advisory"],"title":"Salt 2016.11.7 Release Notes","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872399","name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872399","refsource":"MISC","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"#872399 - salt: CVE-2017-12791: Directory traversal vulnerability on salt-master via crafted minion IDs - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/100384","name":"100384","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"SaltStack Salt CVE-2017-12791 Directory Traversal Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12791","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12791","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"12791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"saltstack","cpe5":"salt","cpe6":"2017.7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"12791","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"saltstack","cpe5":"salt","cpe6":"2017.7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"12791","vulnerable":"1","versionEndIncluding":"2016.11.6","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"saltstack","cpe5":"salt","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-12791","qid":"690270","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for salt (3531141d-a708-477c-954a-2a0549e49ca9)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-12791","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/saltstack/salt/pull/42944","refsource":"CONFIRM","url":"https://github.com/saltstack/salt/pull/42944"},{"name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872399","refsource":"MISC","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872399"},{"name":"100384","refsource":"BID","url":"http://www.securityfocus.com/bid/100384"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1482006","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1482006"},{"name":"https://docs.saltstack.com/en/latest/topics/releases/2017.7.1.html","refsource":"CONFIRM","url":"https://docs.saltstack.com/en/latest/topics/releases/2017.7.1.html"},{"name":"https://docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html","refsource":"CONFIRM","url":"https://docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html"}]}},"nvd":{"publishedDate":"2017-08-23 14:29:00","lastModifiedDate":"2017-08-29 16:43:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:saltstack:salt:2017.7.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*","versionEndIncluding":"2016.11.6","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"12791","Ordinal":"109941","Title":"CVE-2017-12791","CVE":"CVE-2017-12791","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"12791","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"12791","Ordinal":"2","NoteData":"2017-08-23","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"12791","Ordinal":"3","NoteData":"2017-08-23","Type":"Other","Title":"Modified"}]}}}