high7.5
CVE-2024-45436
Ollama can extract members of a ZIP archive outside of the parent directory
Impact
`extractFromZipFile` in `model.go` in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/ollama/ollama | < 0.1.47 | 0.1.47 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ollama | Ollama | before 0.1.47 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47
- https://github.com/ollama/ollama/pull/5314
- https://github.com/advisories/GHSA-846m-99qv-67mg
- https://nvd.nist.gov/vuln/detail/CVE-2024-45436
- https://github.com/ollama/ollama/commit/123a722a6f541e300bc8e34297ac378ebe23f527