CVE-2024-37032 Affecting ollama package, versions <0.1.44-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.07% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-OLLAMA-7300271
  • published21 Jun 2024
  • disclosed31 May 2024

Introduced: 31 May 2024

CVE-2024-37032  (opens in a new tab)

How to fix?

Upgrade Chainguard ollama to version 0.1.44-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ollama package and not the ollama package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.