CVE-2024-45436
9.1critical
Ollama can extract members of a ZIP archive outside of the parent directory
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 2.56% (higher than 85% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-846m-99qv-67mgGO-2024-3104
Description
extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| ollama ollama | before 0.1.47 | CVE List, NVD |
| github.com/ollama/ollama (Go) | before 0.1.47 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | high 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 | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
GitHub Advisory Database
extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
Go Vulnerability Database
Ollama can extract members of a ZIP archive outside of the parent directory in github.com/ollama/ollama
NVD (es)
extractFromZipFile en model.go en Ollama anterior a 0.1.47 puede extraer miembros de un archivo ZIP fuera del directorio principal.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45436 changed 2024-08-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-846m-99qv-67mg changed 2024-08-30 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3104 changed 2024-12-12 | CC-BY-4.0 |
| NVD | CVE-2024-45436 changed 2026-06-17 | Public domain |