Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ollama/ollama
  4. ›
  5. CVE-2024-28224

CVE-2024-28224: Ollama DNS rebinding vulnerability

April 8, 2024 (updated March 27, 2025)

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

References

  • github.com/advisories/GHSA-5jx5-hqx5-2vrj
  • github.com/ollama/ollama
  • github.com/ollama/ollama/releases
  • nvd.nist.gov/vuln/detail/CVE-2024-28224
  • pkg.go.dev/vuln/GO-2024-2699
  • research.nccgroup.com/2024/04/08/technical-advisory-ollama-dns-rebinding-attack-cve-2024-28224
  • www.nccgroup.trust/us/our-research/?research=Technical+advisories

Code Behaviors & Features

Detect and mitigate CVE-2024-28224 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.1.29

Fixed versions

  • 0.1.29

Solution

Upgrade to version 0.1.29 or above.

Impact 6.6 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing
  • CWE-346: Origin Validation Error
  • CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action

Source file

go/github.com/ollama/ollama/CVE-2024-28224.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.