PT-2024-12506
CVE-2023-35701
·
Published
2024-05-03
·
Updated
2025-07-10
Description by
CVSS 3.1
6.6
MediumMetricsAV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Apache Hive versions 4.0.0-alpha-1 through 4.0.0
Description
The issue affects the Hive JDBC driver component and can potentially lead to arbitrary code execution on the machine/endpoint that the JDBC driver (client) is running. The malicious user must have sufficient permissions to specify/edit JDBC URL(s) in an endpoint relying on the Hive JDBC driver and the JDBC client process must run under a privileged user to fully exploit the issue. An attacker can setup a malicious HTTP server and specify a JDBC URL pointing towards this server. When a JDBC connection is attempted, the malicious HTTP server can provide a special response with customized payload that can trigger the execution of certain commands in the JDBC client.
Recommendations
To resolve the issue, upgrade to version 4.0.0, which fixes the problem. As a temporary workaround, consider restricting access to the Hive JDBC driver component to minimize the risk of exploitation. Avoid using the JDBC URL parameter in the affected endpoint until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾