mediumCVSS 6.6NVD status: Analyzed

CVE-2024-28224

Ollama before 0.1.29 has a DNS rebinding vulnerability that can inadvertently allow remote access to the full API, thereby letting an unauthorized user chat with a large language model, delete a model, or cause a deni...

ComponentOllama
Severitymedium (CVSS 6.6)
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Published (NVD)2024-04-08
Last modified2026-06-17
Affected versions
ollama < 0.1.29
Fixed in0.1.29
WeaknessCWE-346
CISA KEVnot listed

NVD description

Ollama before 0.1.29 has a DNS rebinding vulnerability that can inadvertently allow remote access to the full API, thereby letting an unauthorized user chat with a large language model, delete a model, or cause a denial of service (resource exhaustion).

Does CVE-2024-28224 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for Ollama.
Check my stack

What to do

  • Upgrade Ollama to 0.1.29 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more

Other Ollama CVEs

All Ollama CVEs