Ollama < 0.1.29 DNS Rebinding

high Nessus Plugin ID 200186

Synopsis

The Ollama instance installed on the remote host is affected by a DNS rebinding vulnerability.

Description

The version of Ollama installed on the remote host is prior to 0.1.29. It is, therefore, affected by a DNS rebinding vulnerability. Ollama before 0.1.29 has a DNS rebinding vulnerability that can inadvertently allow remote access to the full API, thereby letting an unauthorized user chat with a large language model, delete a model, or cause a denial of service (resource exhaustion).

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.29 or later.

See Also

https://github.com/advisories/GHSA-5jx5-hqx5-2vrj

Plugin Details

Severity: High

ID: 200186

File Name: ollama_CVE-2024-28224.nasl

Version: 1.4

Type: local

Agent: unix

Published: 6/7/2024

Updated: 11/8/2024

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

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

CVSS Score Source: CVE-2024-28224

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

Vulnerability Information

CPE: x-cpe:/a:ollama:ollama

Required KB Items: installed_sw/ollama

Exploit Ease: No known exploits are available

Patch Publication Date: 3/26/2024

Vulnerability Publication Date: 4/8/2024

Reference Information

CVE: CVE-2024-28224

IAVB: 2024-B-0072-S