Vulnerability in Ollama
CVE-2024-39721
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.027 (85.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 85.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.027 · newest: 0.027 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2024-39721?
- CVE-2024-39721 is a high-severity vulnerability in Ollama, classified under Improper Resource Shutdown or Release. CVSS score: 7.5/10. Published 2024-10-31.
- How severe is CVE-2024-39721?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2024-39721 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.