Security mailing lists by PureSourceCode

CVE-2022-41137

HIGH 8.3CVSS 3.1

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.

Published
5 Dec 2024
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-502
Also known as
GHSA-6hqr-c69m-r76q
Sources
NVDJSONOSV GHSA-6hqr-c69m-r76qJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache hive
cpe:2.3:a:apache:hive:4.0.0:alpha1:*:*:*:*:*:*
= 4.0.0
OSV Maven org.apache.hive:hive-exec >= 4.0.0-alpha-1, < 4.0.0-alpha-2 4.0.0-alpha-2

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 5 Dec 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Dec 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.