NetSight
hoch7.8

CVE-2021-31607

Command Injection in SaltStack Salt

Auswirkung

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).

Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, 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>= 2016.11.0, <= 3002.63003rc1

Betroffene Produkte

HerstellerProduktBetroffene Versionen
FedoraprojectFedora
Versionen 33, 34, 35
SaltstackSalt
ab 2016.9 bis einschließlich 3002.6

Schwachstellenklasse

Referenzen