CVE-2024-37032

HIGHCVSS 8.8/10EPSS 89.63%

Last modified

CVE-2024-37032 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 89.63% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.8/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
89.63%

99.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OllamaOllama< 0.1.34

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is 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.
How severe is CVE-2024-37032?
CVE-2024-37032 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 89.63% probability of exploitation in the next 30 days.
How do I fix CVE-2024-37032?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-37032?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST