Affected versions
Version ranges need review.
- Affected versions
- < 0.1.47
- Fixed version
- 0.1.47
- Affected versions
- <0.1.47
- Fixed version
- 0.1.47
Exploitation
Description
extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
Links
- https://github.com/advisories/GHSA-846m-99qv-67mg
- https://github.com/ollama/ollama
- https://github.com/ollama/ollama/commit/123a722a6f541e300bc8e34297ac378ebe23f527
- https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47
- https://github.com/ollama/ollama/pull/5314
- https://nvd.nist.gov/vuln/detail/CVE-2024-45436

