CVE-2023-35701Apache Hive
Medium 6.6
Follow: this CVE · Apache · Apache Hive We alert you by email or Slack (account required).
- Priority
- 40
- CVSS 3.1
- 6.6
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- Yes
- Published
- May 3, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Hive.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.hive:hive-jdbc |
≥ 4.0.0-alpha-1 < 4.0.0 |
4.0.0 |
— |
Per OSV / GitHub Advisories (GHSA-vpw3-3prf-3974). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | hive | 4.0.0 |
| apache | hive | 4.0.0 |
| apache | hive | 4.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- lists.apache.org Mailing List Vendor Advisory