CVE-2024-39719 Information disclosure in n/a

High 7.5 Published Updated

Attackers can determine file existence on the server via error messages in the CreateModel API, potentially aiding further attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-39719?

CVE-2024-39719 is a high-severity vulnerability in n/a, published on 31 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-209

Which versions are affected by CVE-2024-39719?

It affects 1 product.

Products include Ollama Ollama.

How do I fix CVE-2024-39719?

No fix has been published for CVE-2024-39719 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-39719 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39719 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-cpxh-jwhh-m496.

Is CVE-2024-39719 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free