CVE-2024-45436
Ollama ZIP Archive Directory Traversal Vulnerability
Description
extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
INFO
Published Date :
Aug. 29, 2024, 3:15 a.m.
Last Modified :
Aug. 30, 2024, 4:08 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2024-45436 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-45436
.
URL | Resource |
---|---|
https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47 | Patch |
https://github.com/ollama/ollama/pull/5314 | Patch |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
This repository contains an exploit demonstration for CVE-2024-45436, a critical vulnerability affecting specific software versions. It highlights the exploitation mechanism and provides insights for security researchers to understand and mitigate the risk.
cve exp ollama poc
Python
CVE-2024-45436
Go
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-45436
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-45436
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 30, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47 No Types Assigned https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47 Patch Changed Reference Type https://github.com/ollama/ollama/pull/5314 No Types Assigned https://github.com/ollama/ollama/pull/5314 Patch Added CWE NIST CWE-22 Added CPE Configuration OR *cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* versions up to (excluding) 0.1.47 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 29, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-22 Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N -
CVE Received by [email protected]
Aug. 29, 2024
Action Type Old Value New Value Added Description extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory. Added Reference MITRE https://github.com/ollama/ollama/pull/5314 [No types assigned] Added Reference MITRE https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-45436
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-45436
weaknesses.