NetSight
hoch8.8

CVE-2024-37032

Ollama does not validate the format of the digest (sha256 with 64 hex digits)

Auswirkung

Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path, and thus mishandles the TestGetBlobsPath test cases such as fewer than 64 hex digits, more than 64 hex digits, or an initial `../` substring.

Ein Angreifer kann die Lücke über das Netzwerk 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
gogithub.com/ollama/ollama< 0.1.340.1.34

Betroffene Produkte · Ollama

ProduktBetroffene Versionen
Ollama
vor 0.1.34

Schwachstellenklasse

Referenzen