Security mailing lists by PureSourceCode

CVE-2023-35701

MEDIUM 6.6CVSS 3.1

Apache Hive Code Injection vulnerability

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.

Published
3 May 2024
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-94
Also known as
GHSA-vpw3-3prf-3974
Sources
NVDJSONOSV GHSA-vpw3-3prf-3974JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache hive
cpe:2.3:a:apache:hive:4.0.0:alpha1:*:*:*:*:*:*
= 4.0.0
NVD apache hive
cpe:2.3:a:apache:hive:4.0.0:alpha2:*:*:*:*:*:*
= 4.0.0
NVD apache hive
cpe:2.3:a:apache:hive:4.0.0:beta1:*:*:*:*:*:*
= 4.0.0
OSV Maven org.apache.hive:hive-jdbc >= 4.0.0-alpha-1, < 4.0.0 4.0.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 3 May 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.