Live threats

All CVEs / Saltstack

CVE-2017-12791Saltstack Salt

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Salt.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
saltstacksalt≤ 2016.11.6
saltstacksalt2017.7.0

Official sources

References

Links published by the sources. Open them with care.