SCA: security update for llama-index-core (GHSA-wvpx-g427-q9wc)

critical Tenable Self-Hosted Container Security Plugin ID 420139

Description

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

- A vulnerability was identified in the `exec_utils` class of the `llama_index` package, specifically within
the `safe_eval` function, allowing for prompt injection leading to arbitrary code execution. This issue
arises due to insufficient validation of input, which can be exploited to bypass method restrictions and
execute unauthorized code. The vulnerability is a bypass of the previously addressed CVE-2023-39662,
demonstrated through a proof of concept that creates a file on the system by exploiting the flaw.
(CVE-2024-3098)

See Also

https://github.com/advisories/GHSA-wvpx-g427-q9wc

Plugin Details

Severity: Critical

ID: 420139

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

Score: 4.9

Percentile: 57.49

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2024-3098

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/10/2024

Vulnerability Publication Date: 4/10/2024

Reference Information

CVE: CVE-2024-3098

cwe: CWE-94