MEDIUM5.3
PYSEC-2017-30
Quick fix
PYSEC-2017-30 — salt: upgrade to the fixed version with the command below.
pip install --upgrade 'salt>=b49d0d4b5ca5c6f31f03e2caf97cef1088eeed81'Details
modules/chef.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: b49d0d4b5ca5c6f31f03e2caf97cef1088eeed81Fix
pip install --upgrade 'salt>=b49d0d4b5ca5c6f31f03e2caf97cef1088eeed81'References
- https://github.com/saltstack/salt/commit/b49d0d4b5ca5c6f31f03e2caf97cef1088eeed81[FIX]
- https://github.com/saltstack/salt/commit/22d2f7a1ec93300c34e8c42d14ec39d51e610b5c[FIX]
- https://docs.saltstack.com/en/latest/topics/releases/2014.7.4.html[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1212788[REPORT]
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175568.html[WEB]
- https://github.com/advisories/GHSA-6grp-75pq-c8cj[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"]}'