CVE-2024-39721
HIGH EPSS 83.9%
Published Oct 31, 20241y ago · Modified Jun 17, 20261w ago
7.5 CVSS 3.1
Published Oct 31, 2024 1y ago
Last Modified Jun 17, 2026 1w ago
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).
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
83.9% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-404
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| ollama | ollama | * | <0.1.34 |
References 3
- github.com https://github.com/ollama/ollama/blob/9164b0161bcb24e543cba835a8863b80af2c0c21/server/routes.go#L557
- github.com https://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/routes.go#L536
- oligo.security https://www.oligo.security/blog/more-models-more-probllms
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.