CVE-2024-39719
HIGHollama < 0.3.14 - File Existence Disclosure via CreateModel Route
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-39719. PoCs published by srcx404.
AI-analyzed exploit summary The repository contains a functional Python script that exploits CVE-2024-39719, a file existence disclosure vulnerability in Ollama versions ≤ 0.3.14. The script checks the Ollama version and tests for file existence via the `/api/create` endpoint, demonstrating the vulnerability by analyzing error messages.
Description
An issue was discovered in Ollama through 0.3.14. File existence disclosure can occur via api/create. When calling the CreateModel route with a path parameter that does not exist, it reflects the "File does not exist" error message to the attacker, providing a primitive for file existence on the server.
Exploits (1)
The repository contains a functional Python script that exploits CVE-2024-39719, a file existence disclosure vulnerability in Ollama versions ≤ 0.3.14. The script checks the Ollama version and tests for file existence via the `/api/create` endpoint, demonstrating the vulnerability by analyzing error messages.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N