9.1
CRITICAL
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.

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.

Affected Products

The following products are affected by CVE-2024-45436 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ollama ollama
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

Updated: 3 days, 6 hours ago
0 stars 0 fork 0 watcher
Born at : Nov. 21, 2024, 9:03 a.m. This repo has been linked 1 different CVEs too.

CVE-2024-45436

Go

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : Oct. 21, 2024, 5:44 a.m. This repo has been linked 1 different CVEs too.

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]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability