Skip to content
OpenAdvisories
Critical · 9.1 Public exploit CVE-2024-45436 EUVD-2024-2532GHSA-846m-99qv-67mgGO-2024-3104

Ollama can extract members of a ZIP archive outside of the parent directory

Published Aug 29, 2024 · Updated Aug 29, 2024 · Assigned by mitre

Description

extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241213T205935-1.1 openSUSE-SU-2024:14599-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/ollama/ollama < 0.1.47 0.1.47 GHSA-846m-99qv-67mg

Advisories 1

References