Exposure of Sensitive Information to an Unauthorized Actor in Apache hive
Published 21 Nov 2018 · Updated 4 Mar 2024
Is your project on an affected org.apache.hive:hive?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=0.6.0 <2.3.3
- Fixed in
- 2.3.3
mvn versions:use-dep-version -Dincludes=org.apache.hive:hive -DdepVersion=2.3.3 -DforceVersion=true- Affected
- >=0.6.0 <2.3.3
- Fixed in
- 2.3.3
mvn versions:use-dep-version -Dincludes=org.apache.hive:hive-exec -DdepVersion=2.3.3 -DforceVersion=true- Affected
- >=0.6.0 <2.3.3
- Fixed in
- 2.3.3
mvn versions:use-dep-version -Dincludes=org.apache.hive:hive-service -DdepVersion=2.3.3 -DforceVersion=trueDetails
In Apache Hive 0.6.0 to 2.3.2, malicious user might use any xpath UDFs (xpath/xpath_string/xpath_boolean/xpath_number/xpath_double/xpath_float/xpath_long/xpath_int/xpath_short) to expose the content of a file on the machine running HiveServer2 owned by HiveServer2 user (usually hive) if hive.server2.enable.doAs=false.
Is GHSA-rxmr-c9jm-7mm8 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.hive:hive, and gives you the command that fixes it.
More advisories for org.apache.hive:hive
- HighCVE-2021-34538Apache Hive before 3.1.3 `CREATE` and `DROP` function operations do not check for necessary authorization. · 17 Jul 2022
- MediumCVE-2020-1926Apache Hive Information Exposure and Observable Timing Discrepancy · 9 Feb 2022
- HighCVE-2015-1772Improper Authentication in org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service · 14 Mar 2019
- HighCVE-2016-3083org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service vulnerable to Improper Certificate Validation · 14 Mar 2019
- MediumCVE-2017-12625Moderate severity vulnerability that affects org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service · 14 Mar 2019
- LowCVE-2018-1315Incorrect Permission Assignment for Critical Resource in Apache hive · 21 Nov 2018
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-1284
- Linkgithub.com/apache/hive/commit/f80a38ae1174553022deae4f8774918401d9756d
- Advisorygithub.com/advisories/GHSA-rxmr-c9jm-7mm8
- Linkissues.apache.org/jira/browse/HIVE-18879
- Linklists.apache.org/thread.html/29184dbce4a37be2af36e539ecb479b1d27868f73ccfdff46c7174b4@%3Cdev.hive.apache.org%3E
- Linkwww.securityfocus.com/bid/103750
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.