Every CVE Search/ Get API key

CVE-2017-12791

SaltStack Salt Directory traversal vulnerability in minion id validation

9.8 CriticalFix available

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

4.67%Up 3.2 points since Apr 14, 2021
90%50%10%1%

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 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
salt
PyPI
before 2016.11.7
2016.11.7
salt
PyPI
2017.7.0 up to 2017.7.1
2017.7.1
salt
PyPI
before 2016.11.7, plus listed versions
0.10.00.10.10.10.20.10.30.10.4
Show 45 moreShow less
0.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
salt
PyPI
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 less
0.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
salt
SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLS
before 2016.11.4-43.7.1
2016.11.4-43.7.1
salt
SUSE:Linux Enterprise Server 11 SP4-CLIENT-TOOLS
before 2016.11.4-43.7.1
2016.11.4-43.7.1
salt
SUSE:Manager Proxy 3.1
before 2016.11.4-4.3.1
2016.11.4-4.3.1
salt
SUSE:Manager Server 3.1
before 2016.11.4-4.3.1
2016.11.4-4.3.1
salt
SUSE:Manager Client Tools 12
before 2016.11.4-46.7.1
2016.11.4-46.7.1
salt
SUSE: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
Affected packages
PackageAffectedFixed
salt
SUSE:Linux Enterprise Point of Sale 12 SP2
before 2016.11.4-46.7.1
2016.11.4-46.7.1
salt
SUSE:Manager Proxy 3.0
before 2016.11.4-46.7.1
2016.11.4-46.7.1
salt
SUSE:Manager Server 3.0
before 2016.11.4-46.7.1
2016.11.4-46.7.1
salt
SUSE:Enterprise Storage 3
before 2016.11.4-46.7.1
2016.11.4-46.7.1
salt
SUSE:Enterprise Storage 4
before 2016.11.4-46.7.1
2016.11.4-46.7.1
salt
Ubuntu: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 less
0.17.2-30.17.4-10.17.4-20.17.5-10.17.5+ds-1
0.17.5+ds-1ubuntu0.1~esm1
salt
Ubuntu: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 less
2015.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
salt
Ubuntu: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 less
0.17.2-30.17.4-10.17.4-20.17.5-10.17.5+ds-1
0.17.5+ds-1ubuntu0.1~esm1
salt
Ubuntu: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 less
2015.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

History
RecordedChangedSources
affected, facts
affected
aliasesEUVD
first indexedCVE 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

Show 39 moreShow less
This page doesn't list everything

Left out here: 163 versions. The JSON record has them.

MoveEnter Open