NetSight
kritisch9.8

CVE-2021-3148

SaltStack Salt command injection in the Salt-API when using the Salt-SSH client

Auswirkung

An issue was discovered in SaltStack Salt before 3002.5. Sending crafted web requests to the Salt API can result in `salt.utils.thin.gen_thin()` command injection because of different handling of single versus double quotes. This is related to `salt/utils/thin.py`.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
pipsalt< 2015.8.132015.8.13

Betroffene Produkte

HerstellerProduktBetroffene Versionen
DebianDebian Linux
Versionen 9.0, 10.0, 11.0
FedoraprojectFedora
Versionen 32, 33, 34
SaltstackSalt
vor 2015.8.10
ab 2015.8.11 vor 2015.8.13
ab 2016.3.0 vor 2016.3.4
ab 2016.3.5 vor 2016.3.6
ab 2016.3.7 vor 2016.3.8
ab 2016.3.9 vor 2016.11.3

Schwachstellenklasse

Referenzen