{"id":"CVE-2021-40331","state":"PUBLISHED","title":"Permissions problem in the Apache Ranger Hive Plugin","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\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","publishedAt":"2023-05-05T07:55:06.554Z","updatedAt":"2024-10-11T17:07:19.817Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Ranger Hive Plugin"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Ranger Hive Plugin","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThanOrEqual":"2.3.0","versionType":"semver"}]}],"references":["https://lists.apache.org/thread/s68yls6cnkdmzn1k4hqt50vs6wjvt2rn"],"weaknesses":["CWE-732"],"ingestedAt":"2026-10-29T19:48:58.929Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/40xxx/CVE-2021-40331.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-40331","state":"PUBLISHED","datePublished":"2023-05-05T07:55:06.554Z","dateUpdated":"2024-10-11T17:07:19.817Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2021-08-31T09:23:23.832Z"},"containers":{"cna":{"title":"Permissions problem in the Apache Ranger Hive Plugin","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Ranger Hive Plugin","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThanOrEqual":"2.3.0","versionType":"semver"}]}],"references":[{"url":"https://lists.apache.org/thread/s68yls6cnkdmzn1k4hqt50vs6wjvt2rn","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"critical"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-732","description":"CWE-732 Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2023-05-05T07:55:06.554Z"},"source":{"defect":["RANGER-3474","RANGER-3357"],"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/s68yls6cnkdmzn1k4hqt50vs6wjvt2rn","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T02:27:31.979Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"apache","product":"ranger","defaultStatus":"unknown","versions":[{"version":"2.0.0","status":"affected","lessThanOrEqual":"2.3.0","versionType":"custom"}],"cpes":["cpe:2.3:a:apache:ranger:*:*:*:*:*:hive:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.1,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-10-11T17:06:08.372365Z","id":"CVE-2021-40331","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-11T17:07:19.817Z"}}]}}}