Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CVE-2021-31607 in snapper module
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). Cherry-pick the fix from pull request saltstack#59648 [1], but also fix the regression introduced by that commit [2]. [1] saltstack#59648 [2] saltstack#60046 Closes: #987496 Signed-off-by: Benjamin Drung <[email protected]>
- Loading branch information