Ollama < 0.1.47 Path Traversal

high Web App Scanning Plugin ID 114577

Synopsis

Ollama < 0.1.47 Path Traversal

Description

According to the self-reported version in its response header, the version of Ollama hosted on the remote web server is < 0.1.47. It is, therefore, affected by a Path Traversal through ZIP archive extraction.

Note that the scanner has not tested for these issues 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

Plugin Details

Severity: High

ID: 114577

Type: remote

Published: 1/28/2025

Updated: 1/28/2025

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

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

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

CVSS Score Source: CVE-2024-45436

Vulnerability Information

CPE: cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/29/2024

Vulnerability Publication Date: 8/29/2024

Reference Information

CVE: CVE-2024-45436