Vulnerabilities · 2021 · Saltstack
CVE-2021-31607
Saltstack Salt vulnerability
In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname that is backed up by snapper, and that the master calls the snapper.diff function (which executes popen unsafely).
Affected products
Salt, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Saltstack Salt runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- sec.stealthcopter.com/saltstack-snapper-minion-privledge-escaltion/ · Exploit
- lists.debian.org/debian-lts-announce/2021/11/msg00009.html · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M · Third Party Advisory
- security.gentoo.org/glsa/202310-22 · Third Party Advisory
- www.debian.org/security/2021/dsa-5011 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-31607
- cve.org/CVERecord?id=CVE-2021-31607
More vulnerabilities in Saltstack products
CVE-2024-38824CVE-2023-20898CVE-2023-20897CVE-2022-22967CVE-2022-22941CVE-2022-22936CVE-2022-22935CVE-2022-22934All 56
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.