CVE-2023-35701
Apache Hive Code Injection vulnerability
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem Administratorkonto, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | org.apache.hive:hive-jdbc | >= 4.0.0-alpha-1, < 4.0.0 | 4.0.0 |
Betroffene Produkte · Apache
| Produkt | Betroffene Versionen |
|---|---|
| Hive | Version 4.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://www.openwall.com/lists/oss-security/2024/05/03/3
- https://lists.apache.org/thread/7zcv6l63spl4r66xwz5jv9rtrg2opx81
- https://github.com/advisories/GHSA-vpw3-3prf-3974
- https://nvd.nist.gov/vuln/detail/CVE-2023-35701
- https://github.com/apache/hive/commit/7abeb1df463cc389f668172e7cf3bb772799858a
- https://issues.apache.org/jira/browse/HIVE-27554