8.1
CWE
732
Advisory Published
CVE Published
Advisory Published
Updated

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

First published: Thu May 04 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.

Credit: security@apache.org security@apache.org security@apache.org

Affected SoftwareAffected VersionHow to fix
maven/org.apache.ranger:ranger-hive-plugin>=2.0.0<2.4.0
2.4.0
Apache Ranger>=2.0.0<=2.3.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • What specific resource does CVE-2021-40331 affect?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203