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

No configuration.

History

27 Mar 2025, 21:15

Type Values Removed Values Added
CWE CWE-22
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8

Information

Published : 2024-05-31 04:15

Updated : 2025-03-27 21:15


NVD link : CVE-2024-37032

Mitre link : CVE-2024-37032

CVE.ORG link : CVE-2024-37032


JSON object : View

Products Affected

No product.

CWE
CWE-22

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