Skip to content
7.5 High

CVE-2024-39721 An issue was discovered in Ollama before 0.1.34

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).

Affected products and versions

Product Affected versions Fixed in
n/a Versions not published
Ollama 0.1 earliest → < 0.1.34 0.1.34
The 144658 CVEs of n/a →
Track this CVE