Permissions problem in the Apache Ranger Hive Plugin
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Ranger Hive Plugin | 2.0.0 – 2.3.0 | — | No fix listed | CNA |
| — | org.apache.ranger:ranger-hive-plugin (Maven) | 2.0.0 to before 2.4.0 | 2.4.0 | Patch available | GHSA-vjr2-wpfh-5r9p |
- Apache Ranger Hive Plugin VendorApache Affected 2.0.0 – 2.3.0 Fixed in — No fix listed CNA
- org.apache.ranger:ranger-hive-plugin (Maven) Vendor— Affected 2.0.0 to before 2.4.0 Fixed in 2.4.0 Patch available GHSA-vjr2-wpfh-5r9p
Remediation
- Fix · GHSA-vjr2-wpfh-5r9p org.apache.ranger:ranger-hive-plugin (Maven) Fixed in 2.4.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-40331
- 2026-10-03 Alias added: GHSA-vjr2-wpfh-5r9p
References
More Apache Ranger vulnerabilities
- TI-2026-22888 Apache Ranger: OS Command Injection via Username in UnixUserGroupBuilder CVSS 3.1CRITICAL 9.8
- TI-2025-36701 Apache Ranger: Remote Code Execution Vulnerability in NashornScriptEngineCreator CVSS 3.1CRITICAL 9.8
- TI-2026-40283 Apache Ranger: Remote Code Execution Vulnerability in GraalScriptEngineCreator CVSS 3.1CRITICAL 9.8
- TI-2026-32358 Apache Ranger: Remote Code Execution via Arbitrary Class Instantiation CVSS 3.1CRITICAL 9.8
- TI-2026-30817 Apache Ranger: Remote Code Execution via JDBC URL Injection CVSS 3.1CRITICAL 9.8
- TI-2026-29575 Apache Ranger: Privilege Escalation via URL Parameter CVSS 3.1CRITICAL 9.8
Sources
- CVE-2021-40331 · CVE Program
- CVE-2021-40331 · NVD
- FIRST EPSS
- GHSA-vjr2-wpfh-5r9p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences