GitHub Advisory Database
GHSA-jmf4-pq78-f8vj
Moderate severity vulnerability that affects org.apache.hive:hive-jdbc
Details
In Apache Hive 2.3.3, 3.1.0 and earlier, Hive "EXPLAIN" operation does not check for necessary authorization of involved entities in a query. An unauthorized user can do "EXPLAIN" on arbitrary table or view and expose table metadata and statistics.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.hive:hive-jdbc | All versions before 2.3.4 (fixed in 2.3.4) |
| Maven | org.apache.hive:hive-jdbc | From 3.0.0 before 3.1.1 (fixed in 3.1.1) |