漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
llmware 0.4.6 SQL Injection via unescaped filter values
Vulnerability Description
llmware 0.4.6 contains an SQL injection vulnerability in the collection-database layer (llmware/resources.py) where filter and lookup values are directly string-interpolated into SQL WHERE clauses without parameterization or escaping, in both the SQLite and PostgreSQL backends. The filter validator only checks keys against an allow-list and never sanitizes values. Attacker-controlled filter values reaching the public API via Library.block_lookup and Query.text_query_with_custom_filter / text_query_by_author_or_speaker can neutralize the intended filter to disclose rows the caller was scoped out of (cross-document/cross-collection disclosure); on PostgreSQL the flaw permits boolean- and UNION-based SQL injection.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Vulnerability Title
llmware.ai llmware SQL注入漏洞
Vulnerability Description
llmware.ai llmware是llmware.ai组织的一款助力企业构建大语言模型应用的产品。 llmware.ai llmware 0.4.6及之前版本存在SQL注入漏洞,该漏洞源于collection-database层(llmware/resources.py)中过滤器和查找值在未进行参数化或转义的情况下直接字符串插值到SQL WHERE子句,过滤器验证器仅检查键而不清理值,可能导致攻击者通过Library.block_lookup和Query.text_query_with_custom_
CVSS Information
N/A
Vulnerability Type
N/A