CVE-2024-37032

High

Description

Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path, and thus mishandles the TestGetBlobsPath test cases such as fewer than 64 hex digits, more than 64 hex digits, or an initial ../ substring.

SeverityHigh
CVSS8.8
Exploit probability—
ProductOllama
PublishedMay 31, 2024
First seenMay 31, 2024

How to fix

Update
  • ollama ollama0.1.34 or later
  • github.com/ollama/ollama0.1.34 or later

Affected products

ProductAffected versionsFixed in
ollama ollamav < 0.1.340.1.34
github.com/ollama/ollamaGov < 0.1.340.1.34

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-37032 · Ollama · Dark Radar