LowGHSA-rxmr-c9jm-7mm8CVE-2018-1284

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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
Update to the fixed version for your release line, for example: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
Update to the fixed version for your release line, for example: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
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.hive:hive-service -DdepVersion=2.3.3 -DforceVersion=true

Details

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
All 9 advisories for org.apache.hive:hive

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.