漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
PyAthena SQL Injection via DefaultParameterFormatter DELETE/CTAS
Vulnerability Description
PyAthena prior to 3.35.4 contains a sql injection vulnerability that allows unauthenticated attackers to inject arbitrary SQL by exploiting improper quote-escaping in DefaultParameterFormatter.format(), which routes DELETE and CTAS statements to the _escape_hive function that backslash-escapes single quotes rather than doubling them. Because Athena and Trino do not treat backslashes as escape characters inside string literals, attacker-supplied input such as a single quote followed by SQL syntax causes the parser to terminate the string literal prematurely, enabling data exfiltration via UNION SELECT, execution of destructive statements, and attacker-controlled CTAS destination and content.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Vulnerability Title
pyathena-dev PyAthena SQL注入漏洞
Vulnerability Description
pyathena-dev PyAthena是pyathena-dev团队开源的一个用于 Amazon Athena 的 Python DB API 2.0 (PEP 249) 客户端。 pyathena-dev PyAthena 3.35.4之前版本存在SQL注入漏洞,该漏洞源于DefaultParameterFormatter.format()中引号转义不当,可能导致未认证攻击者注入任意SQL,造成数据泄露或执行破坏性语句。
CVSS Information
N/A
Vulnerability Type
N/A