HighVulnerabilityLLM-specific
CVE-2024-37032: Ollama path traversal in digest validation when getting model path
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-37032
- Published
- Record updated
- Affected
- github.com/ollama/ollama < 0.1.34
- Fixed in
- 0.1.34
- released May 7, 2024, 24 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 89.6%
Summary
CVE-2024-37032 affects Ollama before 0.1.34. The software does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path, so it mishandles inputs such as digests with fewer or more than 64 hex digits or an initial ../ substring. The weakness is classified as CWE-22, Path Traversal, and was published to NVD on 05/31/2024.
Mitigation
Fixed in 0.1.34. The source references the v0.1.33...v0.1.34 comparison and pull request 4175.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- github.com/ollama/ollamaGoLLM dependency since 2023-07-08 · 2 tracked dependents
Topics
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online