CVE-2024-37032

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2024-05-31 04:15

Updated : 2025-05-01 14:01


NVD link : CVE-2024-37032

Mitre link : CVE-2024-37032

CVE.ORG link : CVE-2024-37032


JSON object : View

Products Affected

ollama

  • ollama
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')