SCA: security update for llama-index-core (GHSA-r6gp-rff2-p3hf)

critical Tenable Self-Hosted Container Security Plugin ID 418536

Description

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

- A command injection vulnerability exists in the run-llama/llama_index repository, specifically within the
safe_eval function. Attackers can bypass the intended security mechanism, which checks for the presence of
underscores in code generated by LLM, to execute arbitrary code. This is achieved by crafting input that
does not contain an underscore but still results in the execution of OS commands. The vulnerability allows
for remote code execution (RCE) on the server hosting the application. (CVE-2024-3271)

See Also

https://github.com/advisories/GHSA-r6gp-rff2-p3hf

Plugin Details

Severity: Critical

ID: 418536

Version: Revision 1.13

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.5

Vendor

Vendor Severity: Critical

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/16/2024

Vulnerability Publication Date: 4/16/2024

Reference Information

CVE: CVE-2024-3271

cwe: CWE-77