Vulnerabilities · 2022 · Apache
CVE-2022-41137
Apache Hive vulnerability
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.
Affected products
Hive. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Hive runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lists.apache.org/thread/jwtr3d9yovf2wo0qlxvkhoxnwxxyzgts · Vendor Advisory
- github.com/apache/hive/commit/60027bb9c91a93affcfebd9068f064bc1f2a74c9 · Patch
- www.openwall.com/lists/oss-security/2024/12/04/2 · Third Party Advisory
- github.com/apache/hive
- issues.apache.org/jira/browse/HIVE-26539
- nvd.nist.gov/vuln/detail/CVE-2022-41137
- github.com/advisories/GHSA-6hqr-c69m-r76q
- nvd.nist.gov/vuln/detail/CVE-2022-41137
- cve.org/CVERecord?id=CVE-2022-41137
More vulnerabilities in Apache products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.