RULE(RULE ID:338729)

Rule General Information
Release Date: 2025-03-06
Rule Name: Ollama 0.1.45 DoS Vulnerability (CVE-2024-39720)
Severity:
CVE ID:
Rule Protection Details
Description: Ollama is an open source framework designed for easy deployment and running of large language models (LLMS) on local machines. An attacker can use two HTTP requests to upload a malformed GGUF file containing just 4 bytes starting with the GGUF custom magic header. By leveraging a custom Modelfile that includes a FROM statement pointing to the attacker-controlled blob file, the attacker can crash the application through the CreateModel route, leading to a segmentation fault.
Impact: An attacker can launch a denial of service attack by exploiting the vulnerability successfully.
Affected OS: Windows, Linux, Others
Reference:
Solutions
Please contact the software vendor to update the software patch.