CVE-2021-31607
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.92%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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).
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 5.92% probability · 93th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- saltstack/salt · fedoraproject/fedora
- Source
- cve@mitre.org
References
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LDKMAJXYFHM4USVX3H5V2GCCBGASWUSM/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/Mailing List, Third Party Advisory
- https://sec.stealthcopter.com/saltstack-snapper-minion-privledge-escaltion/Exploit, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202310-22Third Party Advisory
- https://www.debian.org/security/2021/dsa-5011Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LDKMAJXYFHM4USVX3H5V2GCCBGASWUSM/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/Mailing List, Third Party Advisory
- https://sec.stealthcopter.com/saltstack-snapper-minion-privledge-escaltion/Exploit, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202310-22Third Party Advisory
- https://www.debian.org/security/2021/dsa-5011Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.