VDB

CVE-2024-37032

CVE-2024-37032 PUBLISHED CVSS 8.8 HIGH

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

Reported by mitre · Published May 31, 2024

github.com/ollama/ollama is fixed in 0.1.34 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/ollama/ollamaGo Modules0.1.34
ollamaollama0.1.34

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
github.comollama/ollama0
n/an/a*
wolfiollama0
chainguardollama0

Timeline

  • May 31, 2024 CVE Published
  • Jul 16, 2024 EPSS Score (30 in total, the first dated here)
  • Aug 22, 2024 VulnCheck KEV Exploitation (459 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Jan 9, 2026 CVE Updated
  • Mar 17, 2026 Security Advisory (2 in total, the first dated here)
  • May 19, 2026 VulnCheck XDB Entry

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-37032
vulnetix vdb fixes CVE-2024-37032

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-37032/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›