CVE-2017-12791 json
SaltStack Salt Directory traversal vulnerability in minion id validation
published 2017-08-23 9 y ago modified 2026-07-09 4 mo ago also GHSA-xxvj-8g5m-4qgw , PYSEC-2017-151 , PYSEC-2017-35 , EUVD-2017-0119
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.7%
- EPSS 4.7% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi salt 2016.11.7, 2017.7.1
- salt Ubuntu Pro 14.04 LTS 0.17.5+ds-1ubuntu0.1~esm1
- salt Ubuntu Pro 16.04 LTS 2015.8.8+ds-1ubuntu0.1+esm1
ubuntu advisories UBUNTU-CVE-2017-12791
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- salt SLE Point of Sale 12 SP2, SLE Module for Advanced Systems Management 12, Manager Server 3.0 +4 more 2016.11.4-46.7.1
- salt Manager Server 3.1, Manager Proxy 3.1 2016.11.4-4.3.1
- salt SLES 11 SP4-CLIENT-TOOLS, SLES 11 SP3-CLIENT-TOOLS 2016.11.4-43.7.1
suse advisories SUSE-SU-2017:2676-1SUSE-SU-2017:2674-1SUSE-SU-2017:2666-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-12791 updated cvss 5.3
salt: Directory traversal vulnerability on salt-master via crafted minion IDs
-
Red Hat Ceph Storage 1.3 salt Red Hat Ceph Storage 2 salt, salt-minion Red Hat Storage Console 2 saltaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.67% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | salt | <2016.11.7 >=2017.7.0, <2017.7.1 >=2017.7, <2017.7.1 |
2016.11.7 2017.7.1 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/saltstack/salt/pull/42944
web, issue-tracking, patch, third-party-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=872399
web, issue-tracking, patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1482006
web, issue-tracking, patch, third-party-advisory, report
-
docs.saltstack.com
/en/latest/topics/releases/2017.7.1.html
web, patch, release-notes, vendor-advisory
-
docs.saltstack.com
/en/2016.11/topics/releases/2016.11.7.html
web, patch, release-notes, vendor-advisory
-
securityfocus.com
/bid/100384
vdb-entry, third-party-advisory, web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-12791
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-151.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-35.yaml
web
-
github.com
/saltstack/salt
package
-
github.com
/advisories/GHSA-xxvj-8g5m-4qgw
advisory
Sources
- CVE List CVE-2017-12791
- GitHub Advisory GHSA-xxvj-8g5m-4qgw
- NVD CVE-2017-12791
- OSV PYSEC-2017-35
- OSV PYSEC-2017-151
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.