{"id":"CVE-2021-40331","published":"2023-05-05T07:55:06Z","modified":"2024-10-11T17:07:19Z","title":"Permissions problem in the Apache Ranger Hive Plugin","vendor":"Apache","product":"Apache Ranger Hive Plugin","tier":"tail","description":{"text":"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\nThis 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.\n\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00918,"percentile":0.61085,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://lists.apache.org/thread/s68yls6cnkdmzn1k4hqt50vs6wjvt2rn","tags":["vendor-advisory"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":12.22},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Ranger Hive Plugin","versions":[">= 2.0.0, <= 2.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-10-11T17:06:08.372365Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.ranger:ranger-hive-plugin","vulnerableRanges":[">=2.0.0, <2.4.0"],"patched":["2.4.0"],"from":["GHSA-vjr2-wpfh-5r9p"],"provenance":"source"}],"summary":{"text":"The Apache Ranger Hive Plugin contains an incorrect permission assignment for a critical resource, which allows table ownership in Hive to be changed when the plugin is enabled. An attacker who holds SELECT privilege on a database, and who can reach the affected Hive environment over the network with those credentials and without any user interaction, can alter the ownership of tables in that database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:35Z"},"euvd":{"id":"EUVD-2023-1629","exploited":false,"provenance":"source"}}