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).
Metrics
Affected Vendors & Products
References
History
Fri, 01 Nov 2024 16:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Ollama
Ollama ollama |
|
Weaknesses | CWE-404 | |
CPEs | cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* | |
Vendors & Products |
Ollama
Ollama ollama |
|
Metrics |
cvssV3_1
|
Fri, 01 Nov 2024 14:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Fri, 01 Nov 2024 14:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Thu, 31 Oct 2024 19:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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). | |
References |
|
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2024-10-31T00:00:00
Updated: 2024-11-01T15:19:09.068Z
Reserved: 2024-06-28T00:00:00
Link: CVE-2024-39721
Vulnrichment
Updated: 2024-11-01T15:17:01.252Z
NVD
Status : Awaiting Analysis
Published: 2024-10-31T20:15:04.993
Modified: 2024-11-01T16:35:24.357
Link: CVE-2024-39721
Redhat
No data.