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
Configurations
No configuration.
History
01 Nov 2024, 16:35
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-404 | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
01 Nov 2024, 14:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
31 Oct 2024, 20:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-10-31 20:15
Updated : 2024-11-01 16:35
NVD link : CVE-2024-39721
Mitre link : CVE-2024-39721
CVE.ORG link : CVE-2024-39721
JSON object : View
Products Affected
No product.
CWE
CWE-404
Improper Resource Shutdown or Release