ADVISORIES

GitHub Advisory Database

GHSA-qr38-h96j-2j3w

SaltStack Salt Command Injection in netapi ssh client

Critical Known exploited CVE-2020-16846PYSEC-2020-104

Details

An issue was discovered in SaltStack Salt through 3002. Sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection.

Affected packages

EcosystemPackageAffected versions
PyPIsalt
All versions before 2015.8.13 (fixed in 2015.8.13)
PyPIsalt
From 2016.3.0 before 2016.3.8 (fixed in 2016.3.8)
PyPIsalt
From 2016.11.0 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 before 2018.3.5 (fixed in 2018.3.5)
PyPIsalt
From 2019.2.0 before 2019.2.6 (fixed in 2019.2.6)
PyPIsalt
From 3000.0 before 3000.4 (fixed in 3000.4)
PyPIsalt
From 3001 before 3001.2 (fixed in 3001.2)
PyPIsalt
From 3002 before 3002.1 (fixed in 3002.1)

References