Ollama Multiples Vulnerabilities

high Web App Scanning Plugin ID 114575

Synopsis

Ollama Multiples Vulnerabilities

Description

According to the self-reported version in its response header, the version of Ollama hosted on the remote is, affected by a Multiples Vulnerabilities :

- File existence disclosure through the api. When calling the CreateModel route with a path parameter that does not exist - A Denial Of Service through a Division By Zero

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Restricting access to Ollama.

See Also

https://www.oligo.security/blog/more-models-more-probllms

https://www.vicarius.io/vsociety/posts/probllama-in-ollama-a-tale-of-a-yet-another-rce-vulnerability-cve-2024-37032

Plugin Details

Severity: High

ID: 114575

Type: remote

Published: 1/28/2025

Updated: 1/28/2025

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS Score Source: CVE-2024-39719

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-39719

Vulnerability Information

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

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 10/31/2024

Reference Information

CVE: CVE-2024-39719, CVE-2024-8063