CVE-2023-35701

Apache Hive: Arbitrary command execution via JDBC driver

Description

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.

Category

6.6
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.30%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Hive
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-35701?
CVE-2023-35701 has been scored as a medium severity vulnerability.
How to fix CVE-2023-35701?
To fix CVE-2023-35701, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-35701 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-35701 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-35701?
CVE-2023-35701 affects Apache Software Foundation Apache Hive.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.