Ollama
cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*
- 0.5.11
A denial-of-service vulnerability has been identified in Ollama Server version 0.5.11. This issue allows a malicious user to crash the server by customizing manifest content, spoofing a service, and downloading a model through the /api/pull endpoint. The vulnerability arises from improper validation of array index access, which can lead to a server crash.
Exploitation of this vulnerability causes the Ollama server to crash, leading to a denial-of-service condition.
To reproduce this vulnerability, first start the Ollama server. Then, set up a malicious server that spoofs a service by customizing the manifest content. This can be done using a simple Go application that responds with a crafted JSON manifest. Once the malicious server is running, send a POST request to the Ollama server's /api/pull endpoint, including the URL of the spoofed manifest. The Ollama server will then crash due to the unchecked array bounds access.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.