CVE-2025-1975:
Ollama Server Vulnerable to Denial of Service (DoS) Attack
7.5
Basic Information
Technical Details
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/ollama/ollama | go | <= 0.5.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The provided commit information (8c13cfa4dd35a79c983eb19b5ec2be7ffa220b69) addresses a crash related to path handling on Windows in the C++ backend. This does not align with the vulnerability description, which points to an improper array index validation in the Go-based /api/pull
endpoint when processing a customized manifest. The vulnerability is described as being in version <= 0.5.11
of github.com/ollama/ollama
. While the fix is likely in v0.5.12
, the specific commit for this fix was not identified among the commits between v0.5.11
and v0.5.12
that were analyzed. The available information is insufficient to pinpoint the exact Go function(s) responsible for the array index out-of-bounds error within the /api/pull
handler or related model download and manifest parsing logic. The files server/download.go
and server/routes.go
are likely candidates to contain the vulnerable code, but without the specific patch, this cannot be confirmed.