WaratekVRT Sign in

CVE-2023-35701 Apache Hive

Affected softwareApache Hive
Severity6.6 Medium CVSS 3.1
Fixed in4.0.0
WeaknessCode injection (CWE-94)
Published3 May 2024
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.1% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: apache/hive 7abeb1d.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory
Finding This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.hive:hive-jdbc 4.0.0-alpha-1 4.0.0 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd apache hive generic 4.0.0:alpha1 · 4.0.0:alpha2 · 4.0.0:beta1
osv org.apache.hive hive-jdbc generic ≥ 4.0.0 and < 4.0.0

References

URLTags
https://github.com/apache/hive/commit/7abeb1df463cc389f668172e7cf3bb772799858a WEB
https://github.com/apache/hive PACKAGE
https://issues.apache.org/jira/browse/HIVE-27554 WEB
https://lists.apache.org/thread/7zcv6l63spl4r66xwz5jv9rtrg2opx81 WEB
http://www.openwall.com/lists/oss-security/2024/05/03/3 WEB

Timeline

Published2024-05-03By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.