CVE-2024-37032

Severity CVSS v4.0:
Pending analysis
Type:
CWE-22 Path Traversal
Publication date:
31/05/2024
Last modified:
01/05/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* 0.1.34 (excluding)