github.com/ollama/ollama
Affected
- introduced
0, fixed0.1.46(semver)
Fixed versions
0.1.46
Fix
- Fixed version
0.1.46go get github.com/ollama/[email protected]
Advisory
Also known as: CVE-2024-39720, GO-2024-3245
Ollama Out-of-bounds Read
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).
High Basis: The source's own band: HIGH
0, fixed 0.1.46 (semver)0.1.46
0.1.46go get github.com/ollama/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0