CVE-2023-35701

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.
CVSS

No CVSS.

Configurations

Configuration 1 (hide)

OR 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:*:*:*:*:*:*

History

10 Jul 2025, 16:32

Type Values Removed Values Added
CPE cpe:2.3:a:apache:hive:4.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:apache:hive:4.0.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:apache:hive:4.0.0:alpha1:*:*:*:*:*:*
First Time Apache
Apache hive
References () https://lists.apache.org/thread/7zcv6l63spl4r66xwz5jv9rtrg2opx81 - () https://lists.apache.org/thread/7zcv6l63spl4r66xwz5jv9rtrg2opx81 - Mailing List, Vendor Advisory
References () http://www.openwall.com/lists/oss-security/2024/05/03/3 - () http://www.openwall.com/lists/oss-security/2024/05/03/3 - Mailing List, Third Party Advisory

13 Feb 2025, 17:16

Type Values Removed Values Added
CWE CWE-94
Summary 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. 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.

03 May 2024, 12:48

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2024/05/03/3 -

03 May 2024, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-03 09:15

Updated : 2025-07-10 16:32


NVD link : CVE-2023-35701

Mitre link : CVE-2023-35701


JSON object : View

Products Affected

apache

  • hive
CWE

No CWE.