LLama cpp python binding < 0.2.88 Arbitrary Write Vulnerability

critical Nessus Plugin ID 207350

Synopsis

The remote host is affected by an Arbitrary Code Injection vulnerability.

Description

The version of llama.cpp installed on the remote host is prior to 0.2.88. It is, therefore, affected by an arbitrary write vulnerability. This vulnerability was combined with another arbitrary address read vulnerability to achieve RCE, demonstrating the significant impact of the vulnerability.

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 the llama-cpp-python version 0.2.88 or later.

See Also

http://www.nessus.org/u?95db7d76

Plugin Details

Severity: Critical

ID: 207350

File Name: python_llama_cpp_0_2_88.nasl

Version: 1.3

Type: local

Agent: windows, macosx, unix

Published: 9/17/2024

Updated: 10/23/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2024-42479

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: x-cpe:/a:python:llama-cpp

Required KB Items: installed_sw/llama_cpp_python

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/12/2024

Vulnerability Publication Date: 8/12/2024

Reference Information

CVE: CVE-2024-42479