CVE-2021-40331: Permissions problem in the Apache Ranger Hive Plugin

Published May 4, 2023
·
Updated

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 Software

2 affected componentsFixes available
maven/org.apache.ranger:ranger-hive-plugin>=2.0.0<2.4.0
2.4.0
Apache Ranger Hive>=2.0.0<=2.3.0

Event History

May 5, 2023
CVE Published
via MITRE·07:55 AM
Data Sourced
via MITRE·07:55 AM
DescriptionWeakness
Data Sourced
08:15 AM
DescriptionWeakness
Advisory Published
09:30 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-40331?

CVE-2021-40331 is considered a high severity vulnerability due to its potential impact on data ownership and access control.

2

How do I fix CVE-2021-40331?

To mitigate CVE-2021-40331, upgrade the Apache Ranger Hive Plugin to version 2.4.0 or later.

3

Who is affected by CVE-2021-40331?

Any user with SELECT privilege on a database in Apache Ranger Hive Plugin-enabled environments is affected by CVE-2021-40331.

4

What specific resource does CVE-2021-40331 affect?

CVE-2021-40331 affects the ownership of tables in Hive when Apache Ranger is enabled.

5

What impact does CVE-2021-40331 have on data security?

CVE-2021-40331 allows unauthorized users to change table ownership, posing a significant risk to data security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203