MEDIUM5.9
PYSEC-2021-74
Quick fix
PYSEC-2021-74 — salt: upgrade to the fixed version with the command below.
pip install --upgrade 'salt>=2015.8.10'Details
In SaltStack Salt before 3002.5, authentication to VMware vcenter, vsphere, and esxi servers (in the vmware.py files) does not always validate the SSL/TLS certificate.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/[WEB]
- https://security.gentoo.org/glsa/202103-01[ADVISORY]
- https://github.com/advisories/GHSA-w589-r335-4f55[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"]}'