CVE-2024-45436
HIGH7.5EPSS 29.1%Ollama can extract members of a ZIP archive outside of the parent directory
Published: 8/29/2024Modified: 8/30/2024
Description
`extractFromZipFile` in `model.go` in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
Affected packages (2)
- Go/github.com/ollama/ollamafrom 0, < 0.1.47
- Go/github.com/ollama/ollamafrom 0, < 0.1.47
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (6)
- ADVISORYhttps://github.com/advisories/GHSA-846m-99qv-67mg
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-45436
- PATCHhttps://github.com/ollama/ollama
- WEBhttps://github.com/ollama/ollama/commit/123a722a6f541e300bc8e34297ac378ebe23f527
- WEBhttps://github.com/ollama/ollama/compare/v0.1.46...v0.1.47
- WEBhttps://github.com/ollama/ollama/pull/5314