Lucene search

K
vulnrichmentApacheVULNRICHMENT:CVE-2023-35701
HistoryMay 03, 2024 - 8:11 a.m.

CVE-2023-35701 Apache Hive: Arbitrary command execution via JDBC driver

2024-05-0308:11:08
CWE-94
apache
github.com
3
apache hive
jdbc driver
code injection
arbitrary code execution
vulnerability
http server

7.8 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.2%

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.

CNA Affected

[
  {
    "collectionURL": "https://repo.maven.apache.org/maven2",
    "defaultStatus": "unaffected",
    "packageName": "org.apache.hive:hive-jdbc",
    "product": "Apache Hive",
    "vendor": "Apache Software Foundation",
    "versions": [
      {
        "lessThan": "4.0.0",
        "status": "affected",
        "version": "4.0.0-alpha-1",
        "versionType": "semver"
      }
    ]
  }
]

7.8 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.2%

Related for VULNRICHMENT:CVE-2023-35701