Ollama <= 0.3.3 DoS

high Nessus Plugin ID 250292

Synopsis

The Ollama instance installed on the remote host is affected by a denial of service vulnerability.

Description

The version of Ollama installed on the remote host is prior or equal to 0.3.3. It is, therefore, affected by a vulnerability. A divide by zero vulnerability exists in ollama/ollama version v0.3.3. The vulnerability occurs when importing GGUF models with a crafted type for `block_count` in the Modelfile. This can lead to a denial of service (DoS) condition when the server processes the model, causing it to crash.

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

Solution

Upgrade Ollama to a version later than 0.3.3.

See Also

https://github.com/advisories/GHSA-2xf2-gjm6-g2c6

Plugin Details

Severity: High

ID: 250292

File Name: ollama_0_3_3.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Published: 8/15/2025

Updated: 8/15/2025

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

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

CVSS Score Source: CVE-2024-8063

CVSS v3

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: cpe:/a:ollama:ollama

Required KB Items: installed_sw/Ollama

Patch Publication Date: 8/6/2024

Vulnerability Publication Date: 3/20/2025

Reference Information

CVE: CVE-2024-8063

IAVB: 2025-B-0137