CVE-2023-35701

Severity CVSS v4.0:
Pending analysis
Type:
CWE-94 Code Injection
Publication date:
03/05/2024
Last modified:
10/07/2025

Description

Improper Control of Generation of Code (&amp;#39;Code Injection&amp;#39;) vulnerability in Apache Hive.<br /> <br /> 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. <br /> <br /> 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.<br /> <br /> Users are recommended to upgrade to version 4.0.0, which fixes the issue.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:apache:hive:4.0.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:apache:hive:4.0.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:apache:hive:4.0.0:beta1:*:*:*:*:*:*