CVE-2024-39721Published Oct 31, 2024 · Oct 31Updated Oct 28
Ollama before 0.1.34: The CreateModelHandler function uses os.Open to read a file until completion
High7.5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unspecified product |
| No fix yet |
Original description
An issue was discovered in Ollama before 0.1.34. The CreateModelHandler function uses os.Open to read a file until completion. The req.Path parameter is user-controlled and can be set to /dev/random, which is blocking, causing the goroutine to run infinitely (even after the HTTP request is aborted by the client).
From the CVE record · mitre