CVE-2024-37032Published May 31, 2024 · May 31Updated Oct 28
Ollama does not validate the format of the digest (sha256 with 64 hex digits)
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/ollama/ollama Go |
|
|
Original 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.
From the CVE record · mitre