SCA: security update for github.com/ollama/ollama (GHSA-95j2-w8x7-hm88)

high Tenable Cloud Security Plugin ID 413050

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a
malformed GGUF file containing just 4 bytes starting with the GGUF custom magic header. By leveraging a
custom Modelfile that includes a FROM statement pointing to the attacker-controlled blob file, the
attacker can crash the application through the CreateModel route, leading to a segmentation fault (signal
SIGSEGV: segmentation violation). (CVE-2024-39720)

See Also

https://github.com/advisories/GHSA-95j2-w8x7-hm88

Plugin Details

Severity: High

ID: 413050

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 51.91

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

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

CVSS Score Source: CVE-2024-39720

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.4

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

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

CVSS v4

Risk Factor: High

Base Score: 8.8

Threat Score: 7.8

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/31/2024

Vulnerability Publication Date: 10/31/2024

Reference Information

CVE: CVE-2024-39720

cwe: CWE-125