CVE-2017-12791
salt: Directory traversal vulnerability on salt-master via crafted minion IDs
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Photon OS. Rated lower by Red Hat (medium), Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | salt | 2017.7.2-1.ph1 |
| pip::GitHub Security Advisory pip | salt | 2016.11.7, 2017.7.1 |
| debian 8 | salt | no fix listed |
| debian 9 | salt | 2016.11.2+ds-1+deb9u1 |
| Red Hat | salt, salt-minion | no fix listed |
| ubuntu 14.04-ESM | salt | 0.17.5+ds-1ubuntu0.1~esm1 |
| ubuntu 16.04-ESM | salt | 2015.8.8+ds-1ubuntu0.1+esm1 |
Show all 8 entries from 7 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | salt | 2017.7.2-1.ph1 |
| pip::GitHub Security Advisory pip | salt | 2016.11.7, 2017.7.1 |
| debian 8 | salt | no fix listed |
| debian 9 | salt | 2016.11.2+ds-1+deb9u1 |
| Red Hat | salt | no fix listed |
| Red Hat | salt-minion | no fix listed |
| ubuntu 14.04-ESM | salt | 0.17.5+ds-1ubuntu0.1~esm1 |
| ubuntu 16.04-ESM | salt | 2015.8.8+ds-1ubuntu0.1+esm1 |
References
- http://www.securityfocus.com/bid/100384
- https://access.redhat.com/security/cve/CVE-2017-12791
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872399
- https://bugzilla.redhat.com/show_bug.cgi?id=1482006
- https://docs.saltstack.com/en/2016.11/topics/releases/2016.11.7.html
- https://docs.saltstack.com/en/latest/topics/releases/2017.7.1.html
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-151.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2017-35.yaml