PyPI: salt
CVE-2021-22004
Safety vulnerability ID: SFTY-20210908-87298
Safety legacy ID: pyup.io-41922
Salt versions 3002.7 and 3003.3 include a fix for CVE-2021-22004: An issue was discovered in SaltStack Salt before 3003.3. The salt minion installer will accept and use a minion config file at C:\salt\conf if that file is in place before the installer is run. This allows for a malicious actor to subvert the proper behaviour of the given minion software.
Overview
Improper Authentication in SaltStack Salt
Advisory
Salt versions 3002.7 and 3003.3 include a fix for CVE-2021-22004: An issue was discovered in SaltStack Salt before 3003.3. The salt minion installer will accept and use a minion config file at C:\salt\conf if that file is in place before the installer is run. This allows for a malicious actor to subvert the proper behaviour of the given minion software.
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20210908-87298/CVE-2021-22004
- https://nvd.nist.gov/vuln/detail/CVE-2021-22004
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-346.yaml
- https://github.com/advisories/GHSA-xf37-qcvf-7m57
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ
- https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
