PT-2024-7104

CVE-2024-45436

·

Published

2024-06-27

·

Updated

2024-12-18

Description by

CVSS 2.0
9.4
Critical
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:N
Name of the Vulnerable Software and Affected Versions Ollama versions prior to 0.1.47
Description The issue is related to the extractFromZipFile() function in model.go of the Ollama system, which is used for launching and managing large language models (LLM). This function has an incorrect restriction on the directory path name with limited access. Exploitation of this issue may allow a remote attacker to impact the confidentiality and integrity of protected information. The extractFromZipFile function can extract members of a ZIP archive outside of the parent directory.
Recommendations For versions prior to 0.1.47, update to version 0.1.47 or later to resolve the issue. As a temporary workaround, consider restricting access to the extractFromZipFile function in model.go until a patch is available. Avoid using the extractFromZipFile function to extract members of a ZIP archive outside of the parent directory until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-846M-99QV-67MG
GO-2024-3104
OPENSUSE-SU-2024:14599-1
Found an issue in the description? Have something to add? Feel free to write us 👾