PyPA Advisory Database
PYSEC-2021-56
Details
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).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | salt | From 2016.11.0 before 3003rc1 (fixed in 3003rc1) |