Ollama < 0.1.47 Path Traversal

high Nessus Plugin ID 209520

Synopsis

The Ollama instance installed on the remote host is affected by a path traversal vulnerability.

Description

The version of Ollama installed on the remote host is prior to 0.1.47. It is, therefore, affected by a path traversal vulnerability:

- extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory. (CVE-2024-45436)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Ollama version 0.1.47 or later.

See Also

https://github.com/ollama/ollama/pull/5314

https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47

Plugin Details

Severity: High

ID: 209520

File Name: ollama_CVE-2024-7773.nasl

Version: 1.5

Type: local

Agent: windows, macosx, unix

Published: 10/22/2024

Updated: 3/13/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2024-45436

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:ollama:ollama

Required KB Items: installed_sw/Ollama

Patch Publication Date: 8/29/2024

Vulnerability Publication Date: 8/29/2024

Reference Information

CVE: CVE-2024-45436

CWE: 22