All vulnerabilities

Servers and applications

CVE-2024-37032

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.

Severity
High 8.8
Published
31 May 2024
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.1.34
Sources
NVD

Affected software

SoftwareAffected versions
OllamaServers and applications · cpe:a:ollama:ollama
  • Every version before 0.1.34

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-37032
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-37032