cve.bz

CVE-2017-12791 saltstack salt: Path traversal

9.8 criticalEPSS 4.7%Fix available

Critical (9.8) in saltstack salt. EPSS 4.7% estimated probability of exploitation activity in the next 30 days. Fixed in salt 2016.11.7, 2017.7.1.

On this page
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.

Severity

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
EPSS
4.7% (unchanged from 4.7% a week ago; 4.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-12791 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-12791?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-12791?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-12791 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
saltstack:saltthrough 2016.11.6
saltstack:salt2017.7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xxvj-8g5m-4qgwPyPIsalt<2016.11.72016.11.7
GHSA-xxvj-8g5m-4qgwPyPIsalt>=2017.7.0 <2017.7.12017.7.1
PYSEC-2017-35PyPIsalt<2016.11.7
>=2017.7 <2017.7.1
2016.11.7, 2017.7.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
UbuntuPro:14.04:LTSsalt0.17.5+ds-1ubuntu0.1~esm1UBUNTU-CVE-2017-12791 USN-4769-1
UbuntuPro:16.04:LTSsalt2015.8.8+ds-1ubuntu0.1+esm1UBUNTU-CVE-2017-12791 USN-4769-1
SUSEEnterprise Storage 3, Enterprise Storage 4, Linux Enterprise Module for Advanced Systems Management 12 and 4 moresalt2016.11.4-46.7.1SUSE-SU-2017:2676-1
SUSELinux Enterprise Server 11 SP3-CLIENT-TOOLS, Linux Enterprise Server 11 SP4-CLIENT-TOOLSsalt2016.11.4-43.7.1SUSE-SU-2017:2666-1
SUSEManager Proxy 3.1, Manager Server 3.1salt2016.11.4-4.3.1SUSE-SU-2017:2674-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ceph Storage 1.3saltWill not fix
Red Hat Ceph Storage 2saltWill not fix
Red Hat Storage Console 2saltWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-12791.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON