CVE-2024-45436
published 2024-08-29CVE-2024-45436: extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
PriorityP343high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
2.58%
83.3th percentile
extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | ollama_ollama | >= 0 < 0.1.47 | 0.1.47 |
| ollama | ollama | < 0.1.47 | 0.1.47 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Ollama can extract members of a ZIP archive outside of the parent directory in github.com/ollama/ollama
osv·2024-08-30
CVE-2024-45436 Ollama can extract members of a ZIP archive outside of the parent directory in github.com/ollama/ollama
Ollama can extract members of a ZIP archive outside of the parent directory in github.com/ollama/ollama
Ollama can extract members of a ZIP archive outside of the parent directory in github.com/ollama/ollama
OSV
Ollama can extract members of a ZIP archive outside of the parent directory
osv·2024-08-29
CVE-2024-45436 [HIGH] Ollama can extract members of a ZIP archive outside of the parent directory
Ollama 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.
GHSA
Ollama can extract members of a ZIP archive outside of the parent directory
ghsa·2024-08-29
CVE-2024-45436 [HIGH] CWE-22 Ollama can extract members of a ZIP archive outside of the parent directory
Ollama 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.
Red Hat
ollama: Remote Code Execution via ZipSlip in ollama/ollama
vendor_redhat·2025-03-20·CVSS 7.5
CVE-2024-7773 [HIGH] CWE-20 ollama: Remote Code Execution via ZipSlip in ollama/ollama
ollama: Remote Code Execution via ZipSlip in ollama/ollama
A flaw was found in Ollama, specifically in the parseFromZipFile function in server/model.go. This vulnerability allows remote code execution (RCE) via improper input validation when handling zip files, enabling directory traversal attacks (../) that allow an attacker to write arbitrary files to the file system.
Statement: This CVE has been marked as Rejected by the assigning CNA. The Rejected CVE Record is a duplicate of CVE-2024-45436.
No Red Hat products are affected by this vulnerability.
Package: ansible-automation-platform-24/lightspeed-rhel8 (Red Hat Ansible Automation Platform 2) - Not affected
Package: ansible-automation-platform-24/platform-resource-runner-rhel8 (Red Hat Ansible Automation Platform 2) - Not affected
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-08-29
Published