{"id":"EUVD-2024-1525","enisaUuid":"132bcb62-b4f9-338d-8e77-4a4987cb0d11","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.","datePublished":"May 31, 2024, 12:00:00 AM","dateUpdated":"Mar 27, 2025, 8:57:59 PM","baseScore":8.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":"https://github.com/ollama/ollama/pull/4175\nhttps://github.com/ollama/ollama/compare/v0.1.33...v0.1.34\nhttps://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/modelpath_test.go#L41-L58\nhttps://www.vicarius.io/vsociety/posts/probllama-in-ollama-a-tale-of-a-yet-another-rce-vulnerability-cve-2024-37032\n","aliases":"CVE-2024-37032\nGHSA-8hqg-whrw-pv92\n","assigner":"mitre","epss":89.63,"enisaIdProduct":[{"id":"afdcfd41-ac91-33db-81b5-f1c71cbb0c45","product":{"name":"n/a","vendor":{"name":"n/a"}},"product_version":"n/a"}],"enisaIdVendor":[{"id":"594fb8c8-10f0-3e40-89f6-961ba4a51907","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"2238e845-a2ae-3e61-b050-fd2c87e91306","vulnerability":{"id":"CVE-2024-37032","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.","datePublished":"May 31, 2024, 12:00:00 AM","dateUpdated":"Mar 27, 2025, 8:57:59 PM","status":"PUBLISHED","baseScore":8.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":"https://github.com/ollama/ollama/pull/4175\nhttps://github.com/ollama/ollama/compare/v0.1.33...v0.1.34\nhttps://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/modelpath_test.go#L41-L58\nhttps://www.vicarius.io/vsociety/posts/probllama-in-ollama-a-tale-of-a-yet-another-rce-vulnerability-cve-2024-37032\n","enisa_id":"EUVD-2024-1525\n","assigner":"mitre","epss":89.63,"dataProcessed":"Nov 15, 2026, 7:24:38 AM","vulnerabilityProduct":[{"id":"e6bad155-039f-30c2-8a93-112cf28e4b9b","product":{"name":"n/a","vendor":{"name":"n/a"}},"product_version":"n/a"}],"vulnerabilityVendor":[{"id":"71d13243-a4e4-3326-99d5-36d99e9cd8dc","vendor":{"name":"n/a"}}]}},{"id":"918cce4c-fdf3-3e94-86d8-0f8d6ad603b8","vulnerability":{"id":"GHSA-8hqg-whrw-pv92","description":"Ollama does not validate the format of the digest (sha256 with 64 hex digits)","datePublished":"May 31, 2024, 6:30:27 AM","dateUpdated":"Sep 6, 2024, 9:37:30 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2024-37032\nhttps://github.com/ollama/ollama/pull/4175\nhttps://github.com/ollama/ollama/commit/2a21363bb756a7341d3d577f098583865bd7603f\nhttps://github.com/advisories/GHSA-8hqg-whrw-pv92\nhttps://github.com/ollama/ollama\nhttps://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/modelpath_test.go#L41-L58\nhttps://github.com/ollama/ollama/compare/v0.1.33...v0.1.34\nhttps://pkg.go.dev/vuln/GO-2024-2901\nhttps://www.vicarius.io/vsociety/posts/probllama-in-ollama-a-tale-of-a-yet-another-rce-vulnerability-cve-2024-37032\n","enisa_id":"EUVD-2024-1525\n","aliases":"GHSA-8hqg-whrw-pv92\nCVE-2024-37032\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:37:19 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"dd6c9277-dcf7-37a0-805c-c8e52cfc0dda","advisory":{"id":"openSUSE-SU-2024:14599-1","description":"govulncheck-vulndb-0.0.20241213T205935-1.1 on GA media","summary":"govulncheck-vulndb-0.0.20241213T205935-1.1 on GA media","datePublished":"Dec 18, 2024, 12:00:00 AM","dateUpdated":"Sep 20, 2026, 9:22:59 PM","baseScore":0.0,"references":"https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_14599-1.json\nhttps://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/QTUY324RV3FFZBHVIWDHRCIOPJHIJIN4/\nhttps://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/QTUY324RV3FFZBHVIWDHRCIOPJHIJIN4/\nhttps://www.suse.com/security/cve/CVE-2020-10696/\nhttps://www.suse.com/security/cve/CVE-2020-8912/\nhttps://www.suse.com/security/cve/CVE-2022-31668/\nhttps://www.suse.com/security/cve/CVE-2023-26248/\nhttps://www.suse.com/security/cve/CVE-2023-3676/\nhttps://www.suse.com/security/cve/CVE-2023-3955/\nhttps://www.suse.com/security/cve/CVE-2024-12401/\nhttps://www.suse.com/security/cve/CVE-2024-37032/\nhttps://www.suse.com/security/cve/CVE-2024-44337/\nhttps://www.suse.com/security/cve/CVE-2024-45039/\nhttps://www.suse.com/security/cve/CVE-2024-45337/\nhttps://www.suse.com/security/cve/CVE-2024-45436/\nhttps://www.suse.com/security/cve/CVE-2024-46455/\nhttps://www.suse.com/security/cve/CVE-2024-46528/\nhttps://www.suse.com/security/cve/CVE-2024-53257/\nhttps://www.suse.com/security/cve/CVE-2024-53859/\nhttps://www.suse.com/security/cve/CVE-2024-55601/\nhttps://www.suse.com/security/cve/CVE-2024-55657/\nhttps://www.suse.com/security/cve/CVE-2024-55658/\nhttps://www.suse.com/security/cve/CVE-2024-55659/\nhttps://www.suse.com/security/cve/CVE-2024-55660/\n","aliases":"CVE-2020-10696\nCVE-2020-8912\nCVE-2022-31668\nCVE-2023-26248\nCVE-2023-3676\nCVE-2023-3955\nCVE-2024-12401\nCVE-2024-37032\nCVE-2024-44337\nCVE-2024-45039\nCVE-2024-45337\nCVE-2024-45436\nCVE-2024-46455\nCVE-2024-46528\nCVE-2024-53257\nCVE-2024-53859\nCVE-2024-55601\nCVE-2024-55657\nCVE-2024-55658\nCVE-2024-55659\nCVE-2024-55660\n","source":{"id":21,"name":"csaf_opensuse"},"advisoryProduct":[{"id":"1a7075bb-93cd-38da-8f79-d8c80a02400b","product":{"name":"govulncheck-vulndb-0:0.0.20241213T205935-1.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"37a406db-e5a3-3416-83bb-8fb52aad73f5","product":{"name":"govulncheck-vulndb-0:0.0.20241213T205935-1.1.s390x","vendor":{"name":"SUSE"}}},{"id":"a241c1cf-659a-3a1b-9e54-461a1614c68a","product":{"name":"openSUSE Tumbleweed","vendor":{"name":"SUSE"}}},{"id":"a94b7144-8797-3d25-b9c2-f911a3739e8d","product":{"name":"govulncheck-vulndb-0:0.0.20241213T205935-1.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"df8b0127-ba15-39f7-a7f6-0ff62db88a4b","product":{"name":"govulncheck-vulndb-0:0.0.20241213T205935-1.1.aarch64","vendor":{"name":"SUSE"}}}]}}]}