SCA: security update for llama-index-core (GHSA-j3wr-m6xh-64hg)

high Tenable Self-Hosted Container Security Plugin ID 421185

Description

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

- A vulnerability in the LangChainLLM class of the run-llama/llama_index repository, version v0.12.5, allows
for a Denial of Service (DoS) attack. The stream_complete method executes the llm using a thread and
retrieves the result via the get_response_gen method of the StreamingGeneratorCallbackHandler class. If
the thread terminates abnormally before the _llm.predict is executed, there is no exception handling for
this case, leading to an infinite loop in the get_response_gen function. This can be triggered by
providing an input of an incorrect type, causing the thread to terminate and the process to continue
running indefinitely. (CVE-2024-12704)

See Also

https://github.com/advisories/GHSA-j3wr-m6xh-64hg

Plugin Details

Severity: High

ID: 421185

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 3/21/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2024-12704

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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: 3/20/2025

Vulnerability Publication Date: 3/20/2025

Reference Information

CVE: CVE-2024-12704