AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

OllamaGHSA-95j2-w8x7-hm88

Ollama Out-of-bounds Read

Ollama

CVE-2024-39720 · Published Oct 31, 2024 · updated Dec 12, 2024

High8.2
Fix: upgrade to 0.1.46 or later
GitHub advisory

An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file containing just 4 bytes starting with the GGUF custom magic header. By leveraging a custom Modelfile that includes a FROM statement pointing to the attacker-controlled blob file, the attacker can crash the application through the CreateModel route, leading to a segmentation fault (signal SIGSEGV: segmentation violation).

Affected versions

PackageAffectedFixed in
github.com/ollama/ollama
Go
< 0.1.460.1.46
Details and references

More Ollama advisories

All Ollama