CVE-2024-45436
HIGH 7.5CVSS 3.1Ollama can extract members of a ZIP archive outside of the parent directory
extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
- Published
- 29 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-846m-99qv-67mgGO-2024-3104
- Sources
- NVDJSONOSV GHSA-846m-99qv-67mgJSONOSV GO-2024-3104JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ollama | ollamacpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* |
< 0.1.47 | 0.1.47 |
| OSV | Go | github.com/ollama/ollama | < 0.1.47 | 0.1.47 |
References
- https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47 · Patch, WEB
- https://github.com/ollama/ollama/pull/5314 · Patch, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2024-45436 · ADVISORY
- https://github.com/ollama/ollama/commit/123a722a6f541e300bc8e34297ac378ebe23f527 · WEB, FIX
- https://github.com/ollama/ollama · PACKAGE
- https://github.com/advisories/GHSA-846m-99qv-67mg · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Aug 2024)