Security mailing lists by PureSourceCode

CVE-2021-34538

HIGH 7.5CVSS 3.1

Apache Hive before 3.1.3 `CREATE` and `DROP` function operations do not check for necessary authorization.

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.

Published
16 Jul 2022
Last modified
10 Sep 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-306
Also known as
GHSA-v3p8-j597-3xg8
Sources
NVDJSONOSV GHSA-v3p8-j597-3xg8JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache hive
cpe:2.3:a:apache:hive:*:*:*:*:*:*:*:*
< 3.1.3 3.1.3
OSV Maven org.apache.hive:hive < 3.1.3 3.1.3

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 16 Jul 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Jul 2022)
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.