Vulnerabilities · 2024 · Ollama
CVE-2024-45436
Ollama vulnerability
extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
Affected products
Ollama. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ollama runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ollama/ollama/compare/v0.1.46...v0.1.47 · Patch
- github.com/ollama/ollama/pull/5314 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-45436
- github.com/ollama/ollama/commit/123a722a6f541e300bc8e34297ac378ebe23f527
- github.com/advisories/GHSA-846m-99qv-67mg
- nvd.nist.gov/vuln/detail/CVE-2024-45436
- cve.org/CVERecord?id=CVE-2024-45436
More vulnerabilities in Ollama products
CVE-2025-66960CVE-2025-66959CVE-2025-63389CVE-2025-51471CVE-2025-44779CVE-2025-15514CVE-2025-1975CVE-2025-0317All 19
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.