HIGH7.5
GHSA-9gcr-28rp-cc24
Ollama Divide By Zero vulnerability
Details
A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting in a Denial of Service (DoS) attack.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/ollama/ollama
Introduced in:
0No fixed version published yet for github.com/ollama/ollama (go modules). Pin to a known-safe version or switch to an alternative.