ADVISORIES

GitHub Advisory Database

GHSA-phhw-3wc9-8q75

SaltStack Salt command injection via a crafted process name

Details

An issue was discovered in SaltStack Salt before 3002.5. The minion's restartcheck is vulnerable to command injection via a crafted process name. This allows for a local privilege escalation by any user able to create a files on the minion in a non-blacklisted directory.

Affected packages

EcosystemPackageAffected versions
PyPIsalt
All versions before 2015.8.13 (fixed in 2015.8.13)
PyPIsalt
From 2016.3.0 before 2016.11.5 (fixed in 2016.11.5)
PyPIsalt
From 2016.11.7 before 2016.11.10 (fixed in 2016.11.10)
PyPIsalt
From 2017.5.0 before 2017.7.8 (fixed in 2017.7.8)
PyPIsalt
From 2018.2.0 up to and including 2018.3.5
PyPIsalt
From 2019.2.0 before 2019.2.8 (fixed in 2019.2.8)
PyPIsalt
From 3000 before 3000.7 (fixed in 3000.7)
PyPIsalt
From 3001 before 3001.5 (fixed in 3001.5)
PyPIsalt
From 3002 before 3002.3 (fixed in 3002.3)

References