Information disclosure in Ollama

CVE-2024-39719

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.

EPSS: 0.042 (90.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-39719?
CVE-2024-39719 is a high-severity vulnerability in Ollama, classified under Generation of Error Message Containing Sensitive Information. CVSS score: 7.5/10. Published 2024-10-31.
How severe is CVE-2024-39719?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2024-39719 known to be exploited?
9 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.