CVE-2021-31607
Last modified
CVE-2021-31607 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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).. EPSS estimates a 3.81% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Saltstack | Salt | >= 2016.9, <= 3002.6 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31607?
How severe is CVE-2021-31607?
How do I fix CVE-2021-31607?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-31600An issue was discovered in Hitachi Vantara Pentaho through 9…4.3
- CVE-2021-31601An issue was discovered in Hitachi Vantara Pentaho through 9…6.5
- CVE-2021-31602An issue was discovered in Hitachi Vantara Pentaho through 9…7.5
- CVE-2021-31604furlongm openvpn-monitor through 1.1.3 allows CSRF to discon…6.5
- CVE-2021-31605furlongm openvpn-monitor through 1.1.3 allows %0a command in…7.5
- CVE-2021-31606furlongm openvpn-monitor through 1.1.3 allows Authorization …7.5
- CVE-2021-31608Proofpoint Enterprise Protection before 18.8.0 allows a Bypa…4.3
- CVE-2021-31609The Bluetooth Classic implementation in Silicon Labs iWRAP 6…6.5
- CVE-2021-31610The Bluetooth Classic implementation on AB32VG1 devices does…6.5
- CVE-2021-31611The Bluetooth Classic implementation on Zhuhai Jieli AC690X …5.7
- CVE-2021-31612The Bluetooth Classic implementation on Zhuhai Jieli AC690X …6.5
- CVE-2021-31613The Bluetooth Classic implementation on Zhuhai Jieli AC690X …6.5
Are you affected by CVE-2021-31607?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
