SCA: security update for github.com/ollama/ollama (GHSA-8hqg-whrw-pv92)

high Tenable Self-Hosted Container Security Plugin ID 412709

Description

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

- Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting
the model path, and thus mishandles the TestGetBlobsPath test cases such as fewer than 64 hex digits, more
than 64 hex digits, or an initial ../ substring. (CVE-2024-37032)

See Also

https://github.com/advisories/GHSA-8hqg-whrw-pv92

Plugin Details

Severity: High

ID: 412709

Version: Revision 1.10

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: High

Score: 7.6

Percentile: 98.48

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

CVSS Score Source: CVE-2024-37032

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/31/2024

Vulnerability Publication Date: 5/31/2024

Exploitable With

Metasploit (Ollama Model Registry Path Traversal RCE)

Reference Information

CVE: CVE-2024-37032