CVE-2021-40331Apache Ranger
High 8.1
Follow: this CVE · Apache · Apache Ranger We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- Yes
- Published
- May 5, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-732
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Ranger.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.ranger:ranger-hive-plugin |
≥ 2.0.0 < 2.4.0 |
2.4.0 |
— |
Per OSV / GitHub Advisories (GHSA-vjr2-wpfh-5r9p). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | ranger | ≥ 2.0.0 ≤ 2.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Issue Tracking Patch Vendor Advisory