Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS12cHczLTNwcmYtMzk3NM4AA7uX
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.
Permalink: https://github.com/advisories/GHSA-vpw3-3prf-3974JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12cHczLTNwcmYtMzk3NM4AA7uX
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 7 months ago
Updated: 5 months ago
CVSS Score: 6.6
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-vpw3-3prf-3974, CVE-2023-35701
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-35701
- https://lists.apache.org/thread/7zcv6l63spl4r66xwz5jv9rtrg2opx81
- https://github.com/apache/hive/commit/7abeb1df463cc389f668172e7cf3bb772799858a
- https://issues.apache.org/jira/browse/HIVE-27554
- http://www.openwall.com/lists/oss-security/2024/05/03/3
- https://github.com/advisories/GHSA-vpw3-3prf-3974
Blast Radius: 22.3
Affected Packages
maven:org.apache.hive:hive-jdbc
Dependent packages: 232Dependent repositories: 2,366
Downloads:
Affected Version Ranges: >= 4.0.0-alpha-1, < 4.0.0
Fixed in: 4.0.0
All affected versions: 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0-beta-1
All unaffected versions: 0.8.0, 0.8.1, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.2.2, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.10, 3.0.0, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 4.0.0, 4.0.1