MEDIUM5.3
PYSEC-2017-29
Quick fix
PYSEC-2017-29 — salt: upgrade to the fixed version with the command below.
pip install --upgrade 'salt>=e11298d7155e9982749483ca5538e46090caef9c'Details
modules/serverdensity_device.py in SaltStack before 2014.7.4 does not properly handle files in /tmp.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/salt
Introduced in:
0Fixed in: e11298d7155e9982749483ca5538e46090caef9cFix
pip install --upgrade 'salt>=e11298d7155e9982749483ca5538e46090caef9c'References
- https://github.com/saltstack/salt/commit/e11298d7155e9982749483ca5538e46090caef9c[FIX]
- https://docs.saltstack.com/en/latest/topics/releases/2014.7.4.html[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1212784[REPORT]
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175568.html[WEB]
- https://github.com/advisories/GHSA-92pw-mff9-jqgm[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"]}'