# CVE-2024-28224: GO-2024-2699 - Ollama DNS rebinding vulnerability in github.com/jmorganca/ollama

Source: https://junglewise.ai/threats/cve-2024-28224-ollama-dns-rebinding-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-06-10  
License: CC BY 4.0 with a link back

CVE-2024-28224 · Severity: low · CVSS 3.1 · Published 2024-06-10

Ollama DNS rebinding vulnerability in github.com/jmorganca/ollama

Technologies: [github.com/ollama/ollama (Go)](https://junglewise.ai/threats/technologies/github-com-ollama-ollama). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-28224 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-28224 being exploited in the wild.

**How severe is CVE-2024-28224?** Low severity, with a CVSS score of 3.1, published 10 June 2024.

**Which products and versions are affected?** github.com/jmorganca/ollama (Go) SEMVER:introduced=0,fixed=0.1.29; github.com/ollama/ollama (Go) SEMVER:introduced=0,fixed=0.1.29.

**Is there a fix for CVE-2024-28224?** Yes. github.com/jmorganca/ollama (Go): upgrade to 0.1.29 or later; github.com/ollama/ollama (Go): upgrade to 0.1.29 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-28224?** Check whether you run github.com/jmorganca/ollama (Go) or github.com/ollama/ollama (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/jmorganca/ollama (Go): upgrade to 0.1.29 or later

  ```sh
  go get github.com/jmorganca/ollama@v0.1.29
  ```

- github.com/ollama/ollama (Go): upgrade to 0.1.29 or later

  ```sh
  go get github.com/ollama/ollama@v0.1.29
  ```


## Affected products

- github.com/jmorganca/ollama (Go) SEMVER:introduced=0,fixed=0.1.29
- github.com/ollama/ollama (Go) SEMVER:introduced=0,fixed=0.1.29

## Identifiers

- CVE-2024-28224
- GHSA-5jx5-hqx5-2vrj
- GO-2024-2699

## Related threats

- [Ollama heap out-of-bounds read in GGUF model loader](https://junglewise.ai/threats/cve-2026-7482-ollama-heap-out-of-bounds-read-in-gguf-model-loader)
- [A security flaw has been discovered in Ollama up to 0.20.2. This affects the function digestToPath of the file x/imagegen/transfer/transfer.](https://junglewise.ai/threats/cve-2026-7020-ollama-is-vulnerable-to-path-traversal)
- [Ollama Platform has missing authentication enabling attackers to perform model management operations](https://junglewise.ai/threats/cve-2025-63389-ollama-platform-has-missing-authentication-enabling-attackers-to)
- [GO-2025-3851 - Ollama allows deletion of arbitrary files in github.com/ollama/ollama](https://junglewise.ai/threats/cve-2025-44779-pysec-2025-146-an-issue-in-ollama-v0-1-33-allows-attackers-to)
- [Ollama Cross-Domain Token Exposure in model pull mechanism](https://junglewise.ai/threats/cve-2025-51471-ollama-cross-domain-token-exposure-in-model-pull-mechanism)
