FlawAtlas
Search the atlas
CVE-2024-37032 High

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.

Exploit probability 89.6%
Published May 31, 2024
Required by Not available
Last source change August 12, 2026

02 / AFFECTED SOFTWARE

Affected packages

Unknown Unknown

64 explicit affected versions

Go github.com/ollama/ollama
Go github.com/ollama/ollama

03 / CONNECTIONS

Connected vulnerabilities

04 / EVIDENCE

Source records

Open Source Vulnerabilities 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.

View original source
Open Source Vulnerabilities GO-2024-2901

Ollama does not validate the format of the digest (sha256 with 64 hex digits) in github.com/ollama/ollama

View original source
Open Source Vulnerabilities GHSA-8hqg-whrw-pv92

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.

View original source

05 / REFERENCES

Further evidence