What’s Vulnerable › Vulnerabilities

CVE-2024-37032

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.

Affected products

How to fix

Upgrade to a fixed version: Ollama 0.1.34. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-37032 or the next vulnerability affects your stack