OllamaPublished 31 Oct 2024NVD status: Analyzed

CVE-2024-39721

An issue was discovered in Ollama before 0.1.34.

ComponentOllama
Severityhigh (CVSS 7.5)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published (NVD)2024-10-31
Last modified2026-06-17
Affected versions
< 0.1.34
Fixed in0.1.34
WeaknessCWE-404
CISA KEVnot listed

Versions, checked against NVD

These are NVD's ranges. Neither a GitHub-reviewed advisory nor the CVE record gives versions to check them against yet.

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

What to do

Sources

Read more