HIGH7.8
PYSEC-2017-82
Quick fix
PYSEC-2017-82 — salt: upgrade to the fixed version with the command below.
pip install --upgrade 'salt>=2016.11.4'Details
The salt-ssh minion code in SaltStack Salt 2016.11 before 2016.11.4 copied over configuration from the Salt Master without adjusting permissions, which might leak credentials to local attackers on configured minions (clients).
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/saltstack/salt/pull/40609/commits/6e34c2b5e5e849302af7ccd00509929c3809c658[WEB]
- https://github.com/saltstack/salt/pull/40609[WEB]
- https://github.com/saltstack/salt/issues/40075[REPORT]
- https://docs.saltstack.com/en/latest/topics/releases/2016.11.4.html[WEB]
- https://bugzilla.suse.com/show_bug.cgi?id=1035912[REPORT]
- http://www.securityfocus.com/bid/98095[WEB]
- https://github.com/advisories/GHSA-xcx4-5wq7-g5g7[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/salt"]}'