WaratekVRT Sign in

CVE-2021-34538 Apache Hive

Affected softwareApache Hive
Severity7.5 High CVSS 3.1
Fixed in3.1.3
WeaknessMissing authentication (CWE-306)
Published16 Jul 2022
Updated17 Jun 2026

Description

Apache Hive before 3.1.3 "CREATE" and "DROP" function operations does not check for necessary authorization of involved entities in the query. It was found that an unauthorized user can manipulate an existing UDF without having the privileges to do so. This allowed unauthorized or underprivileged users to drop and recreate UDFs pointing them to new jars that could be potentially malicious.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.9% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2023 ↗ CPU 2023-Q3 Oracle Analytics / Analytics Server (Apache Hive) (6.4.0.0.0, 7.0.0.0.0, 12.2.1.4.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Analytics Analytics Server (Apache Hive) 6.4.0.0.0, 7.0.0.0.0, 12.2.1.4.0 6.4.0.0.0 · 7.0.0.0.0 · 12.2.1.4.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.hive:hive 0 3.1.3 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache hive generic < 3.1.3
osv org.apache.hive hive generic < 3.1.3

References

URLTags
https://github.com/apache/hive PACKAGE
https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354 WEB

Timeline

Published2022-07-16By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.