CVE-2017-12791Saltstack Salt
Critical 9.8 No auth needed
Follow: this CVE · Saltstack · Saltstack Salt We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 4.7% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Aug 23, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Salt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | salt |
< 2016.11.7 |
2016.11.7 |
pip install "salt>=2016.11.7" |
| PyPI | salt |
≥ 2017.7.0 < 2017.7.1 |
2017.7.1 |
pip install "salt>=2017.7.1" |
| PyPI | salt |
< 2016.11.7 |
2016.11.7 |
pip install "salt>=2016.11.7" |
| PyPI | salt |
≥ 2017.7 < 2017.7.1 |
2017.7.1 |
pip install "salt>=2017.7.1" |
Per OSV / GitHub Advisories (GHSA-xxvj-8g5m-4qgw, PYSEC-2017-35). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| saltstack | salt | ≤ 2016.11.6 |
| saltstack | salt | 2017.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- bugs.debian.org Issue Tracking Patch Third Party Advisory
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- docs.saltstack.com Patch Release Notes Vendor Advisory
- docs.saltstack.com Patch Release Notes Vendor Advisory
- github.com Issue Tracking Patch Third Party Advisory