GHSA-8hqg-whrw-pv92Medium

Ollama does not validate the format of the digest (sha256 with 64 hex digits)

Published
May 31, 2024
Last Modified
September 6, 2024

🔗 CVE IDs covered (1)

📋 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 products1

  • go/github.com/ollama/ollama:< 0.1.34

🔗 References (8)