MediumGHSA-c476-j253-5rgqCVE-2024-29869

Apache Hive Incorrectly Assigns Permissions for a Critical Resource

Published 29 Jan 2025 · Updated 29 Jan 2025

Is your project on an affected org.apache.hive:hive-exec?

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 package

Affected
<4.0.1
Fixed in
4.0.1
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.hive:hive-exec -DdepVersion=4.0.1 -DforceVersion=true

Details

Hive creates a credentials file to a temporary directory in the file system with permissions 644 by default when the file permissions are not set explicitly. Any unauthorized user having access to the directory can read the sensitive information written into this file. Users are recommended to upgrade to version 4.0.1, which fixes this issue.

Is GHSA-c476-j253-5rgq 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-exec, and gives you the command that fixes it.

More advisories for org.apache.hive:hive-exec

  • HighCVE-2022-41137Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore · 5 Dec 2024
  • 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
  • HighCVE-2018-11777Improper Authentication in hive:hive-exec · 21 Nov 2018
  • LowCVE-2018-1284Exposure of Sensitive Information to an Unauthorized Actor in Apache hive · 21 Nov 2018
All 10 advisories for org.apache.hive:hive-exec

References

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