vendor:
ollama
by:
sud0
7.1
CVSS
HIGH
Server-Side Request Forgery (SSRF)
918
CWE
Product Name: ollama
Affected Version From: <=0.6.4
Affected Version To: 2000.6.4
Patch Exists: NO
Related CWE: CVE-2025-XXXX (Not assigned)
CPE: a:ollama_project:ollama:0.6.4
Platforms Tested: CentOS 8
2025
ollama 0.6.4 – Server-Side Request Forgery (SSRF)
The ollama 0.6.4 application is vulnerable to Server-Side Request Forgery (SSRF) attack. An attacker can manipulate the 'from' parameter in the payload to make the server send requests to arbitrary hosts, potentially leading to unauthorized access to internal systems.
Mitigation:
To mitigate this vulnerability, input validation should be implemented to ensure that the 'from' parameter only accepts trusted URLs. Additionally, restricting the server's outgoing connections to trusted domains can help prevent SSRF attacks.