{"id":"CVE-2021-31607","published":"2021-04-23T00:00:00Z","modified":"2024-08-03T23:03:33Z","title":"In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05922,"percentile":0.9322,"provenance":"source"},"cwes":[],"references":[{"url":"https://sec.stealthcopter.com/saltstack-snapper-minion-privledge-escaltion/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LDKMAJXYFHM4USVX3H5V2GCCBGASWUSM/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2021/dsa-5011","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202310-22","tags":["vendor-advisory"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":18.64}]},"affected":[{"ecosystem":"PyPI","package":"salt","vulnerableRanges":[">=2016.11.0, <3003rc1"],"patched":["3003rc1"],"from":["GHSA-hcjf-rp5h-g5h3","PYSEC-2021-56"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-0233","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-25282","published":"2021-02-27","fixed":"3002.5","kev":false},{"cve":"CVE-2021-25283","published":"2021-02-27","fixed":"3002.5","kev":false},{"cve":"CVE-2021-3197","published":"2021-02-27","fixed":"3002.5","kev":false},{"cve":"CVE-2021-31607","published":"2021-04-23","fixed":"3003rc1","kev":false},{"cve":"CVE-2021-33226","published":"2023-02-17","fixed":"3003.1","kev":false,"link":{"from":"CVE-2021-31607","to":"CVE-2021-33226","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:salt","fromFixed":"3003rc1","toFixed":"3003.1","daysApart":665}]}},{"cve":"CVE-2021-21996","published":"2021-09-08","fixed":"3003.3","kev":false},{"cve":"CVE-2021-22004","published":"2021-09-08","fixed":"3003.3","kev":false}],"package":"PyPI:salt"}}