CVE-2021-40331
published high CVSS 3.1 · 8.1Permissions problem in the Apache Ranger Hive Plugin
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Ranger Hive Plugin | 2.0.0 through 2.3.0 (affected · semver)Default: unaffected | apache · cna |
| apache | ranger | 2.0.0 through 2.3.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-732 CWE-732 Incorrect Permission Assignment for Critical Resource
References
1Provider assertions
3apache · cna
Permissions problem in the Apache Ranger Hive Plugin
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5f707faeffd5e0f995440a06c1cf0fb86965c17e90292e43410275b781d66c38
- Ingested
- 23 Sep 2026, 07:55:59 UTC
- Source record
- Official CVE record