CVE-2024-11958
LlamaIndex Retrievers Integration: DuckDBRetriever SQL Injection
9.8
CRITICAL
CVSS 3.1
EPSS 4.1%
描述
A SQL injection vulnerability exists in the `duckdb_retriever` component of the run-llama/llama_index repository, specifically in llama-index-retrievers-duckdb-retriever prior to v0.4.0. 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
要修補 CVE-2024-11958,請將受影響套件升級到下列已修補版本。
- —升級至 0.4.0 或更新版本
CVE-2024-11958 正在被利用嗎?
低 — EPSS 為 4.1%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 0.4.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |