CVE-2017-12791
SaltStack Salt Directory traversal vulnerability in minion id validation
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2017-12791- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-12791- Updated
- 2026-11-02
EUVDEUVD-2017-0119 No score
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.
- Record
EUVD-2017-0119- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xxvj-8g5m-4qgw
9.8
SaltStack Salt Directory traversal vulnerability in minion id validation
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.
- Record
GHSA-xxvj-8g5m-4qgw- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2017-12791- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-xxvj-8g5m-4qgw
9.8
SaltStack Salt Directory traversal vulnerability in minion id validation
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.
- Record
GHSA-xxvj-8g5m-4qgw- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-22
- Updated
- 2026-11-02
Show 8 moreShow less
OSVPYSEC-2017-151
9.8
Withdrawn as duplicate of PYSEC-2017-35 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.
- Record
PYSEC-2017-151- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-12791
9.8
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.
- Record
UBUNTU-CVE-2017-12791- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11364-1 No score
python3-salt-3002.2-6.1 on GA media
These are all security issues fixed in the python3-salt-3002.2-6.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11364-1- Updated
- 2026-11-02
OSVPYSEC-2017-35 No score
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.
- Record
PYSEC-2017-35- Updated
- 2026-11-02
OSVSUSE-SU-2017:2666-1 No score
Security update for salt
This update for salt fixes one security issue and bugs.
The following security issue has been fixed:
- CVE-2017-12791: Directory traversal vulnerability in minion id validation allowed remote minions with incorrect credentials to authenticate to a master via a crafted minion ID (bsc#1053955).
Additionally, the following non-security issues have been fixed:
- Added support for SUSE Manager scalability features. (bsc#1052264)
- Introduced the kubernetes module. (bsc#1051948)
- Notify systemd synchronously via NOTIFY_SOCKET. (bsc#1053376)
- Record
SUSE-SU-2017:2666-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2674-1 No score
Security update for Salt
This update for salt fixes one security issue and bugs:
The following security issue has been fixed:
- CVE-2017-12791: Directory traversal vulnerability in minion id validation allowed remote minions with incorrect credentials to authenticate to a master via a crafted minion ID (bsc#1053955).
Additionally, the following non-security issues have been fixed:
- Added support for SUSE Manager scalability features. (bsc#1052264)
- Introduced the kubernetes module. (bsc#1051948)
- Notify systemd synchronously via NOTIFY_SOCKET. (bsc#1053376)
- Added bugfix when jobs scheduled to run at a future time stay pending for Salt minions. (bsc#1036125)
- Adding procps as dependency. This provides 'ps' and 'pgrep' utils which are called from different Salt modules and also from new salt-minion watchdog.
- Record
SUSE-SU-2017:2674-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2676-1 No score
Security update for Salt
This update for salt fixes one security issue and bugs:
The following security issue has been fixed:
- CVE-2017-12791: Directory traversal vulnerability in minion id validation allowed remote minions with incorrect credentials to authenticate to a master via a crafted minion ID (bsc#1053955).
Additionally, the following non-security issues have been fixed:
- Added support for SUSE Manager scalability features. (bsc#1052264)
- Introduced the kubernetes module. (bsc#1051948)
- Notify systemd synchronously via NOTIFY_SOCKET. (bsc#1053376)
- Record
SUSE-SU-2017:2676-1- Updated
- 2026-11-02
OSVUSN-4769-1 No score
salt vulnerabilities
It was discovered that Salt allowed remote attackers to write to arbitrary files via a special crafted file. An attacker could use this vulnerability to cause a DoS or possibly execute arbitrary code. This issue only affected Ubuntu 14.04 ESM. (CVE-2014-3563)
Andreas Stieger discovered that Salt exposed git usernames and passwords in log files. An attacker could use this issue to retrieve sensitive information. This issue only affected Ubuntu 14.04 ESM. (CVE-2015-6918).
It was discovered that Salt exposed password authentication credentials in log files. An attacker could use this issue to retrieve sensitive information. This issue only affected Ubuntu 14.04 ESM. (CVE-2015-6941)
It was discovered that Salt allowed remote attackers to write to arbitrary files via a special crafted file. An attacker could use this issue to cause a DoS or possibly execute arbitrary code. (CVE-2017-12791, CVE-2017-14695, CVE-2017-14696)
It was discovered that Salt allowed remote attackers to determine which files exist on the server. An attacker could use this issue to extract sensitive information. This issue only affected Ubuntu 16.04 ESM. (CVE-2018-15750)
It was discovered that Salt allowed users to bypass authentication. An attacker could use this issue to extract sensitive information, execute arbitrary code or crash the server. This issue only affected Ubuntu 16.04 ESM. (CVE-2018-15751)
- Record
USN-4769-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
saltPyPI |
before 2016.11.7 | 2016.11.7 |
saltPyPI |
2017.7.0 up to 2017.7.1 | 2017.7.1 |
saltPyPI |
before 2016.11.7, plus listed versions 0.10.00.10.10.10.20.10.30.10.4 Show 45 moreShow less0.10.50.11.00.11.10.12.00.12.10.13.00.13.10.13.20.13.30.14.00.14.10.15.00.15.10.15.20.15.30.15.900.16.00.16.10.16.20.16.30.16.40.17.00.17.0rc10.17.10.17.20.17.30.17.40.17.50.8.70.8.90.9.00.9.10.9.20.9.30.9.40.9.50.9.60.9.70.9.80.9.90.9.9.12014.1.02014.1.0rc12014.1.0rc22014.1.0rc3 |
2016.11.7 |
saltPyPI |
before 2016.11.7, 2017.7 up to 2017.7.1, plus listed versions 0.10.00.10.10.10.20.10.30.10.4 Show 45 moreShow less0.10.50.11.00.11.10.12.00.12.10.13.00.13.10.13.20.13.30.14.00.14.10.15.00.15.10.15.20.15.30.15.900.16.00.16.10.16.20.16.30.16.40.17.00.17.0rc10.17.10.17.20.17.30.17.40.17.50.8.70.8.90.9.00.9.10.9.20.9.30.9.40.9.50.9.60.9.70.9.80.9.90.9.9.12014.1.02014.1.0rc12014.1.0rc22014.1.0rc3 |
2016.11.72017.7.1 |
saltSUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLS |
before 2016.11.4-43.7.1 | 2016.11.4-43.7.1 |
saltSUSE:Linux Enterprise Server 11 SP4-CLIENT-TOOLS |
before 2016.11.4-43.7.1 | 2016.11.4-43.7.1 |
saltSUSE:Manager Proxy 3.1 |
before 2016.11.4-4.3.1 | 2016.11.4-4.3.1 |
saltSUSE:Manager Server 3.1 |
before 2016.11.4-4.3.1 | 2016.11.4-4.3.1 |
saltSUSE:Manager Client Tools 12 |
before 2016.11.4-46.7.1 | 2016.11.4-46.7.1 |
saltSUSE:Linux Enterprise Module for Advanced Systems Management 12 |
before 2016.11.4-46.7.1 | 2016.11.4-46.7.1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
saltSUSE:Linux Enterprise Point of Sale 12 SP2 |
before 2016.11.4-46.7.1 | 2016.11.4-46.7.1 |
saltSUSE:Manager Proxy 3.0 |
before 2016.11.4-46.7.1 | 2016.11.4-46.7.1 |
saltSUSE:Manager Server 3.0 |
before 2016.11.4-46.7.1 | 2016.11.4-46.7.1 |
saltSUSE:Enterprise Storage 3 |
before 2016.11.4-46.7.1 | 2016.11.4-46.7.1 |
saltSUSE:Enterprise Storage 4 |
before 2016.11.4-46.7.1 | 2016.11.4-46.7.1 |
saltUbuntu:Pro:14.04:LTS |
before 0.17.5+ds-1ubuntu0.1~esm1, plus listed versions 0.16.0-10.16.4-20.17.1+dfsg-10.17.2-10.17.2-2 Show 5 moreShow less0.17.2-30.17.4-10.17.4-20.17.5-10.17.5+ds-1 |
0.17.5+ds-1ubuntu0.1~esm1 |
saltUbuntu:Pro:16.04:LTS |
before 2015.8.8+ds-1ubuntu0.1+esm1, plus listed versions 2015.5.3+ds-12015.8.1+ds-22015.8.3+ds-12015.8.3+ds-22015.8.3+ds-3 Show 5 moreShow less2015.8.5+ds-12015.8.7+ds-12015.8.8+ds-12015.8.8+ds-1ubuntu0.1~esm12015.8.8+ds-1ubuntu0.1 |
2015.8.8+ds-1ubuntu0.1+esm1 |
saltUbuntu:Pro:14.04:LTS From an advisory covering 8 CVEs |
before 0.17.5+ds-1ubuntu0.1~esm1, plus listed versions 0.16.0-10.16.4-20.17.1+dfsg-10.17.2-10.17.2-2 Show 5 moreShow less0.17.2-30.17.4-10.17.4-20.17.5-10.17.5+ds-1 |
0.17.5+ds-1ubuntu0.1~esm1 |
saltUbuntu:Pro:16.04:LTS From an advisory covering 8 CVEs |
before 2015.8.8+ds-1ubuntu0.1+esm1, plus listed versions 2015.5.3+ds-12015.8.1+ds-22015.8.3+ds-12015.8.3+ds-22015.8.3+ds-3 Show 5 moreShow less2015.8.5+ds-12015.8.7+ds-12015.8.8+ds-12015.8.8+ds-1ubuntu0.1~esm12015.8.8+ds-1ubuntu0.1 |
2015.8.8+ds-1ubuntu0.1+esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-12791 is a critical vulnerability (CVSS 9.8) in Saltstack Salt, published August 23, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.67%, the 91st percentile. Fixed in salt 2016.11.7.
References
github.com/saltstack/salt/pull/42944
bugs.debian.org/cgi-bin/bugreport.cgi?bug=872399
securityfocus.com/bid/100384
bugzilla.redhat.com/show_bug.cgi?id=1482006
docs.saltstack.com/en/latest/topics/releases/2017.7.1.html
docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html
Show 39 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-12791
github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-35.yaml
github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-151.yaml
github.com/advisories/GHSA-xxvj-8g5m-4qgw
github.com/saltstack/salt
suse.com/support/update/announcement/2017/suse-su-20172666-1
bugzilla.suse.com/1051948
bugzilla.suse.com/1052264
bugzilla.suse.com/1053376
bugzilla.suse.com/1053955
suse.com/security/cve/CVE-2017-12791
suse.com/support/update/announcement/2017/suse-su-20172674-1
bugzilla.suse.com/1036125
suse.com/support/update/announcement/2017/suse-su-20172676-1
ubuntu.com/security/CVE-2017-12791
github.com/saltstack/salt/commit/6366e05d0d70bd709cc4233c3faf32a759d0173a
cve.org/CVERecord?id=CVE-2017-12791
ubuntu.com/security/notices/USN-4769-1
ubuntu.com/security/CVE-2014-3563
ubuntu.com/security/CVE-2015-6918
ubuntu.com/security/CVE-2015-6941
ubuntu.com/security/CVE-2017-14695
ubuntu.com/security/CVE-2017-14696
ubuntu.com/security/CVE-2018-15750
ubuntu.com/security/CVE-2018-15751
suse.com/security/cve/CVE-2016-9639
suse.com/security/cve/CVE-2017-14695
suse.com/security/cve/CVE-2017-14696
suse.com/security/cve/CVE-2018-15750
suse.com/security/cve/CVE-2018-15751
suse.com/security/cve/CVE-2019-17361
suse.com/security/cve/CVE-2019-18897
suse.com/security/cve/CVE-2020-11651
suse.com/security/cve/CVE-2020-25592
suse.com/security/cve/CVE-2020-28243
suse.com/security/cve/CVE-2021-21996
suse.com/security/cve/CVE-2021-25281
suse.com/security/cve/CVE-2021-25315
suse.com/security/cve/CVE-2021-31607
Left out here: 163 versions. The JSON record has them.