目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-49845— Apache Hive HiveMetaStore分区名SQL注入漏洞

一分钟漏洞结论

影响对象
Apache Software Foundation Apache Hive
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Apache Hive 4.2.1 之前版本(所有平台)的 Hive Metastore 中,当启用直接 SQL(默认启用)时,存在 SQL 注入漏洞,位于通过直接 SQL 解析分区名称(partition-name resolution)的过程中。经过身份认证并有权访问 Hive Metastore API 的攻击者,可以通过在 Metastore RPC 请求中构造恶意分区名称,读取、修改或影响非预期的分区元数据(包括统计信息更新、截断目标以及文件元数据缓存操作)。建议用户升级至 4.2.1 版本以修复此问题。

AI 预测 6.5 利用难度: 较易
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-49845 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths
来源: CVE Program / CVE List V5
Vulnerability Description
SQL injection in Hive Metastore direct SQL partition-name resolution in Apache Hive before 4.2.1 on all platforms allows authenticated users with access to Hive Metastore APIs to read, modify, or affect unintended partition metadata (including statistics updates, truncation targets, and file-metadata cache operations) via crafted partition names in metastore RPC requests when direct SQL is enabled (the default). Users are recommended to upgrade to version 4.2.1, which fixes this issue. Details about the issue: Several Hive Metastore RPCs resolve partitions by full partition name (PART_NAME) through direct-SQL helpers. In those paths, client-supplied partition names are embedded into SQL using string concatenation (DirectSqlUpdatePart.quoteString() → '...') instead of bind parameters. A partition name containing a single quote (and crafted SQL) can alter the generated WHERE clause so that lookups intended for one partition match additional rows. That can affect reads, stats updates, truncate targets, metadata-cache targets, and related operations when metastore.try.direct.sql is enabled (default: true). An authenticated or network-trusted caller with the ability to invoke Hive Metastore partition-name APIs against a target table (directly or via Hive/other clients), when direct SQL is enabled can perform this attack. Also, the impact is mainly within table & partition targeting (read/update/truncate/drop/cache the wrong partitions in a table they can reference), not arbitrary cross-database access via this bug alone.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Apache Software Foundation Apache Hive 4.0.0 ~ 4.2.0 -

二、漏洞 CVE-2026-49845 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-49845 的情报信息

登录查看更多情报信息。

CVE-2026-49845 补丁与修复 (2)

CVE-2026-49845 邮件列表归档 (1)

CVE-2026-49845 厂商页面 (1)

同批安全公告 · Apache Software Foundation · 2026-08-25 · 共 4 条

CVE-2026-55976 Apache Hive Avro Serde SSRF漏洞
CVE-2026-53561 Apache Hive Server2 HTTP SAML身份验证绕过漏洞
CVE-2026-49050 Apache DolphinScheduler 普通用户可生成管理员访问令牌漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-49845

暂无评论


发表评论