An issue was discovered in Ollama before 0.1.34. The...
High severity
Unreviewed
Published
Oct 31, 2024
to the GitHub Advisory Database
•
Updated Nov 1, 2024
Description
Published by the National Vulnerability Database
Oct 31, 2024
Published to the GitHub Advisory Database
Oct 31, 2024
Last updated
Nov 1, 2024
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