Original 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 software
- Ollama *< 0.1.34 Fixed in: 0.1.34 repository or package match
Details
- Published
- 2024-05-31
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-22
- EPSS (30-day exploit probability)
- 89.63% (percentile 100)
References
- cve.org/CVE-2024-37032
- nvd.nist.gov/vuln/detail/CVE-2024-37032
- github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/modelpath_te...
- github.com/ollama/ollama/compare/v0.1.33...v0.1.34
- github.com/ollama/ollama/pull/4175
- www.vicarius.io/vsociety/posts/probllama-in-ollama-a-tale-of-a-yet-another-rce-vulnerabili...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.