CVE-2024-45436
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
ollama ollamabefore 0.1.47CVE List, NVD
github.com/ollama/ollama (Go)before 0.1.47GitHub Advisory Database, Go Vulnerability Database

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

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

SourceRecordLicence
CVE ListCVE-2024-45436 changed 2024-08-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-846m-99qv-67mg changed 2024-08-30CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3104 changed 2024-12-12CC-BY-4.0
NVDCVE-2024-45436 changed 2026-06-17Public domain