Security mailing lists by PureSourceCode

CVE-2024-37032

HIGH 8.8CVSS 3.1

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

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.

Published
31 May 2024
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-8hqg-whrw-pv92GO-2024-2901
Sources
NVDJSONOSV GHSA-8hqg-whrw-pv92JSONOSV GO-2024-2901JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ollama ollama
cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*
< 0.1.34 0.1.34
OSV Go github.com/ollama/ollama < 0.1.34 0.1.34

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 31 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Jun 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 31 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.