Deserialization of Untrusted Data
CVE-2022-41137
Summary
Apache Hive Metastore (HMS) uses the "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 prechecks on the input arguments. This issue affects org.apache.hive:hive-exec version 4.0.0-alpha-1.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- LOW
- LOW
- HIGH
CWE-502 - Deserialization of Untrusted Data
Deserialization of untrusted data vulnerabilities enable an attacker to replace or manipulate a serialized object, replacing it with malicious data. When the object is deserialized at the victim's end the malicious data is able to compromise the victim’s system. The exploit can be devastating, its impact may range from privilege escalation, broken access control, or denial of service attacks to allowing unauthorized access to the application's internal code and logic which can compromise the entire system.
References
Advisory Timeline
- Published