CRITICAL9.8
PYSEC-2021-50
Quick fix
PYSEC-2021-50 — salt: upgrade to the fixed version with the command below.
pip install --upgrade 'salt>=2015.8.10'Details
An issue was discovered in through SaltStack Salt before 3002.5. salt-api does not honor eauth credentials for the wheel_async client. Thus, an attacker can remotely run any wheel modules on the master.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/saltstack/salt/releases[WEB]
- https://www.saltstack.com/blog/active-saltstack-cve-announced-2021-jan-21/[ARTICLE]
- 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]
- http://packetstormsecurity.com/files/162058/SaltStack-Salt-API-Unauthenticated-Remote-Command-Execution.html[WEB]
- https://github.com/advisories/GHSA-xxw3-765m-f37p[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"]}'