Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore
Apache Hive Metastore (HMS) uses SerializationUtilities#deserializeObjectWithTypeInformation method when filtering and fetching partitions that is unsafe and can lead to Remote Code Execution (RCE) since it allows the deserialization of arbitrary data.
In real deployments, the vulnerability can be exploited only by authenticated users/clients that were able to successfully establish a connection to the Metastore. From an API perspective any code that calls the unsafe method may be vulnerable unless it performs additional prerechecks on the input arguments.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.hive:hive-exec | >= 4.0.0-alpha-1, < 4.0.0-alpha-2 | 4.0.0-alpha-2 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2022-41137
- https://github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9
- https://github.com/apache/hive
- https://issues.apache.org/jira/browse/HIVE-26539
- https://lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts
- http://www.openwall.com/lists/oss-security/2024/12/04/2
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H- Schwäche (CWE)
CWE-502- Plattform
- Java / Kotlin (Maven)
- Paket
org.apache.hive:hive-exec- Veröffentlicht
- 05.12.2024
- Aktualisiert
- 11.10.2026 12:21
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-6hqr-c69m-r76q - CC BY 4.0
Schwachstellenhistorie: org.apache.hive:hive-exec
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 10
- Erste → letzte
- 11.2018 01.2025
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 5
- Mittel 2
- Niedrig 3
Veröffentlichungen pro Jahr
- 2018: 5
- 2019: 3
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 1
- 2025: 1
- 2026: 0
-
Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.