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?
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
mvn versions:use-dep-version -Dincludes=org.apache.hive:hive-exec -DdepVersion=4.0.1 -DforceVersion=trueDetails
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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-29869
- Linkgithub.com/apache/hive/commit/20106e254527f7d71b2e34455c4322e14950c620
- Packagegithub.com/apache/hive
- Linkissues.apache.org/jira/browse/HIVE-28134
- Linklists.apache.org/thread/h27ohpyrqf9w1m3c0tqr7x8jg59rcrv6
- Linkwww.openwall.com/lists/oss-security/2025/01/28/4
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.