Improper Input Validation
CVE-2024-37032
Summary
The package github.com/ollama/ollama versions prior to v0.1.34-rc1 do 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.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-20 - Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
References
Advisory Timeline
- Published