PT-2025-48132 · Apache · Apache Hive

Wukong

·

Published

2025-11-26

·

Updated

2025-12-04

·

CVE-2025-62728

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Apache Hive versions 4.1.0 through 4.2.0
Description A SQL injection issue exists in the Hive Metastore Server (HMS) when handling delete column statistics requests through the Thrift APIs. This issue is exploitable only by authorized users or applications permitted to directly call the Thrift APIs. In typical deployments, HMS access is limited to a small number of applications, reducing the risk of exploitation. The vulnerable code is not reachable when the metastore.try.direct.sql property is set to false. The vulnerability involves processing requests via the following: API Endpoints: Thrift APIs Vulnerable Parameters or Variables: Requests to delete column statistics.
Recommendations Upgrade to version 4.2.0 to resolve the issue. If an upgrade is not possible, set the metastore.try.direct.sql property to false if the HMS Thrift APIs are exposed publicly.

Fix

SQL injection

Weakness Enumeration

Related Identifiers

CVE-2025-62728
GHSA-932V-X9X2-VQ29

Affected Products

Apache Hive