CVE-2024-37032Ollama
High 8.8 High EPSS
Follow: this CVE · Ollama · Ollama We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 8.8
- EPSS
- 54.5% probability of exploitation in 30 days · percentile 99
- Auth required
- Yes
- Published
- May 31, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ollama.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/ollama/ollama |
< 0.1.34 |
0.1.34 |
go get github.com/ollama/ollama@v0.1.34 |
| Go | github.com/ollama/ollama |
< 0.1.34 |
0.1.34 |
go get github.com/ollama/ollama@v0.1.34 |
Per OSV / GitHub Advisories (GHSA-8hqg-whrw-pv92, GO-2024-2901). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ollama | ollama | < 0.1.34 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Release Notes
- github.com Issue Tracking
- www.vicarius.io Exploit Third Party Advisory