ADVISORIES

Alpine Security Database

ALPINE-CVE-2021-31607

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

EcosystemPackageAffected versions
Alpine:v3.13salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.14salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.15salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.16salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.17salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.18salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.19salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.20salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.21salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.22salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.23salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)
Alpine:v3.24salt
From 2016.9 before 3003-r0 (fixed in 3003-r0)

References