CVE-2021-40331: Apache Ranger

High severity, CVSS 8.1. EPSS: 0.9% chance of exploitation in the next 30 days.

An Incorrect Permission Assignment for Critical Resource vulnerability was found in the Apache Ranger Hive Plugin. Any user with SELECT privilege on a database can alter the ownership of the table in Hive when Apache Ranger Hive Plugin is enabled This issue affects Apache Ranger Hive Plugin: from 2.0.0 through 2.3.0. Users are recommended to upgrade to version 2.4.0 or later.

Affected products

  • Apache Ranger: from 2.0.0, up to and including 2.3.0

Published 2023-05-05. Last modified 2026-06-17.