CVE-2024-29869: Apache Hive Incorrectly Assigns Permissions for a Critical Resource
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.
Published Jan 29, 2025
Affected packages
org.apache.hive:hive-exec
- Ecosystem
- Maven
- Affected
- < 4.0.1
- Fixed in
- 4.0.1
- Check
mvn dependency:tree -Dincludes=org.apache.hive:hive-exec
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-29869
- https://github.com/apache/hive/commit/20106e254527f7d71b2e34455c4322e14950c620
- https://github.com/apache/hive
- https://issues.apache.org/jira/browse/HIVE-28134
- https://lists.apache.org/thread/h27ohpyrqf9w1m3c0tqr7x8jg59rcrv6
- https://github.com/advisories/GHSA-c476-j253-5rgq
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
