Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Hive.
The vulnerability affects the Hive JDBC driver component and it 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 vulnerability.
The 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.This issue affects Apache Hive: from 4.0.0-alpha-1 before 4.0.0.
Users are recommended to upgrade to version 4.0.0, which fixes the issue.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: apache
Published: 2024-05-03T08:11:08.215Z
Updated: 2024-08-02T16:30:44.897Z
Reserved: 2023-06-15T12:56:43.075Z
Link: CVE-2023-35701
Vulnrichment
Updated: 2024-08-02T16:30:44.897Z
NVD
Status : Awaiting Analysis
Published: 2024-05-03T09:15:07.587
Modified: 2024-07-03T01:40:17.900
Link: CVE-2023-35701
Redhat
No data.