8.8high
Ollama does not validate the format of the digest (sha256 with 64 hex digits)
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 89.6% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-8hqg-whrw-pv92GO-2024-2901
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/ollama/ollama (Go) | before 0.1.34 | GitHub Advisory Database, Go Vulnerability Database |
| ollama ollama | before 0.1.34 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
Go Vulnerability Database
Ollama does not validate the format of the digest (sha256 with 64 hex digits) in github.com/ollama/ollama
NVD (es)
Ollama anterior a 0.1.34 no valida el formato del resumen (sha256 con 64 dígitos hexadecimales) al obtener la ruta del modelo y, por lo tanto, maneja mal los casos de prueba TestGetBlobsPath, como menos de 64 dígitos hexadecimales, más de 64 dígitos hexadecimales o una inicial. ../ subcadena.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-37032 changed 2025-03-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8hqg-whrw-pv92 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2901 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2024-37032 changed 2026-06-17 | Public domain |