CVE-2021-31607
HIGH 7.8EPSS 5.9%
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 v3.1 NVD
- 7.8 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0 NVD
- 4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P - EPSS
- 5.92% chance of exploitation in the next 30 days, 93rd percentile
- Published
- 2021-04-23
- Updated
- 2024-08-03
Proof-of-concept exploits (1)
Exploit collections (1)
- SaltStack命令注入漏洞(CVE-2021-31607).mdtzwlhack/Vulnerability
Security advisories
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://sec.stealthcopter.com/saltstack-snapper-minion-privledge-escaltion
- https://security.gentoo.org/glsa/202310-22
- https://www.debian.org/security/2021/dsa-5011
- advisories/GHSA-hcjf-rp5h-g5h3