CVE-2024-45436: GO-2024-3104 - Ollama can extract members of a ZIP archive outside of the parent directory in github.com/ollama/ollama

CVE-2024-45436 · Severity: low · CVSS 3.1 · Published 2024-08-30

Ollama can extract members of a ZIP archive outside of the parent directory in github.com/ollama/ollama

Technologies: github.com/ollama/ollama (Go). Vendors: Go.

Quick answers

Is CVE-2024-45436 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-45436 being exploited in the wild.
How severe is CVE-2024-45436?
Low severity, with a CVSS score of 3.1, published 30 August 2024.
Which products and versions are affected?
github.com/ollama/ollama (Go) SEMVER:introduced=0,fixed=0.1.47.
Is there a fix for CVE-2024-45436?
Yes. github.com/ollama/ollama (Go): upgrade to 0.1.47 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-45436?
Check whether you run 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/ollama/ollama (Go): upgrade to 0.1.47 or later
    go get github.com/ollama/ollama@v0.1.47

Affected products

  • github.com/ollama/ollama (Go) SEMVER:introduced=0,fixed=0.1.47

Identifiers

  • CVE-2024-45436
  • GHSA-846m-99qv-67mg
  • GO-2024-3104

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.