Description (CNA)
Ollama fails to validate redirect destinations when pulling tensor-layer models, allowing unauthenticated attackers to redirect blob downloads to arbitrary hosts. An attacker can control a registry, serve a malicious tensor-layer manifest, and cause the server to issue GET requests to internal hosts including cloud metadata endpoints.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| ollama / ollama | affected 0.30.0 through 0.33.2 |
CWE
CWE-918
References
- https://github.com/ollama/ollama/issues/17041
- https://github.com/ollama/ollama
- https://github.com/ollama/ollama/blob/v0.33.2/x/transfer/download.go
- https://www.vulncheck.com/advisories/ollama-0.30.0-through-0.33.2-ssrf-via-cross-host-tensor-blob-redirect
ADP enrichment
No English description supplied.
No references supplied.