CVE-2024-37032

Published May 31, 2024 CVSS 3.1 · 8.8 High EPSS 89.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-8hqg-whrw-pv92 Ollama does not validate the format of the digest (sha256 with 64 hex digits)
History
Type Values Removed Values Added
Metrics epss

{'score': 0.93129}

epss

{'score': 0.93281}

Type Values Removed Values Added
Metrics epss

{'score': 0.93082}

epss

{'score': 0.93129}

Type Values Removed Values Added
First Time appeared Ollama
Ollama ollama
CPEs cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*
Vendors & Products Ollama
Ollama ollama
Type Values Removed Values Added
Weaknesses CWE-22
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 27, 2025, 8:57 PM
Reserved
May 31, 2024, 12:00 AM
Status
Analyzed
Published
May 31, 2024, 4:15 AM
Modified
Jun 17, 2026, 7:37 AM