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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-49845— Apache Hive 代码注入漏洞

一分钟漏洞结论

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

Apache Hive是美国Apache基金会的一款数据仓库基础架构软件。 Apache Hive 4.2.1之前版本存在代码注入漏洞,该漏洞源于直接SQL分区名解析时使用字符串拼接而非绑定参数,可能导致经过身份验证的用户通过特制分区名称读取、修改或影响非预期分区元数据。

AI 预测 6.5 利用难度: 较易 EPSS 0.89% · P58

影响版本矩阵 1

厂商产品 版本范围状态
Apache Software Foundation Apache Hive 4.0.0≤ 4.2.0 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 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
Vulnerability Title
Apache Hive 代码注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Apache Hive是美国Apache基金会的一款数据仓库基础架构软件。 Apache Hive 4.2.1之前版本存在代码注入漏洞,该漏洞源于直接SQL分区名解析时使用字符串拼接而非绑定参数,可能导致经过身份验证的用户通过特制分区名称读取、修改或影响非预期分区元数据。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 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 · 共 14 条

CVE-2026-49050 Apache DolphinScheduler 授权问题漏洞
CVE-2026-53561 Apache Hive 授权问题漏洞
CVE-2026-55976 Apache Hive 服务端请求伪造漏洞
CVE-2026-65182 Apache Tomcat 权限许可和访问控制问题漏洞
CVE-2026-65183 Apache Tomcat 竞争条件问题漏洞
CVE-2026-65637 Apache Tomcat 输入验证错误漏洞
CVE-2026-65905 Apache Tomcat 授权问题漏洞
CVE-2026-65927 Apache Tomcat 数字错误漏洞
CVE-2026-66422 Apache Tomcat 授权问题漏洞
CVE-2026-68525 Apache Tomcat 授权问题漏洞
CVE-2026-68569 Apache Tomcat 授权问题漏洞
CVE-2026-68763 Apache Tomcat 资源管理错误漏洞
CVE-2026-73180 Apache Tomcat 会话机制问题漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-49845

暂无评论


发表评论