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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39719.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "0.3.14"
}
],
"source": "DESCRIPTION"
}
],
"cna_assigner": "mitre"
}{
"cpe": "cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*",
"source": "CPE_RANGE",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "0.3.14"
}
]
}