CVE-2023-35701
published medium CVSS 3.1 · 6.6Apache Hive: Arbitrary command execution via JDBC driver
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.hive:hive-jdbcApache Hive · 4.0.0-alpha-1 to < 4.0.0 · Other versions: unaffected | Affected | Not stated | apache |
| apache | — | hive4.0.0-alpha-1 to < 4.0.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Hive | 4.0.0-alpha-1 to < 4.0.0 (affected · semver)Default: unaffected | apache · cna |
| apache | hive | 4.0.0-alpha-1 to < 4.0.0 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2Provider assertions
3apache · cna
Apache Hive: Arbitrary command execution via JDBC driver
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3c28641464d69d2897eeb74c876175ff1168963fd885e8c9541981ed8d845f0c
- Ingested
- 23 Sep 2026, 08:09:41 UTC
- Source record
- Official CVE record