SCA: security update for llama-index-retrievers-duckdb-retriever (GHSA-339r-cjv9-x78g)

critical Tenable Cloud Security Plugin ID 427757

Description

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

- A SQL injection vulnerability exists in the `duckdb_retriever` component of the run-llama/llama_index
repository, specifically in the latest version. The vulnerability arises from the construction of SQL
queries without using prepared statements, allowing an attacker to inject arbitrary SQL code. This can
lead to remote code execution (RCE) by installing the shellfs extension and executing malicious commands.
(CVE-2024-11958)

See Also

https://github.com/advisories/GHSA-339r-cjv9-x78g

Plugin Details

Severity: Critical

ID: 427757

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/28/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.15

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

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: 3/20/2025

Vulnerability Publication Date: 3/20/2025

Reference Information

CVE: CVE-2024-11958

cwe: CWE-89