CVE-2024-29869
Apache Hive Incorrectly Assigns Permissions for a Critical Resource
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.hive » hive-exec | < 4.0.1 | 4.0.1 |
Blast radius
70% of the dependent artifacts (1,266) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 83,484 |
| 2 hops | 66,782 |
| 3 hops | 49,793 |
| 4 hops | 13,455 |
| 5 hops | 2,083 |
| 6 hops | 731 |
Most used dependents
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.spark » spark-streaming670 usages
- org.apache.spark » spark-hive633 usages
- org.apache.spark » spark-catalyst502 usages
- org.apache.hive » hive-metastore480 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.hive » hive-common305 usages
- org.apache.hive » hive-service301 usages
- org.apache.hive » hive-serde206 usages
- org.apache.spark » spark-graphx143 usages
- org.apache.spark » spark-yarn130 usages
- com.holdenkarau » spark-testing-base126 usages
- org.apache.oozie » oozie-core123 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-29869
- Webhttps://github.com/apache/hive/commit/20106e254527f7d71b2e34455c4322e14950c620
- Packagehttps://github.com/apache/hive
- Webhttps://issues.apache.org/jira/browse/HIVE-28134
- Webhttps://lists.apache.org/thread/h27ohpyrqf9w1m3c0tqr7x8jg59rcrv6
- Webhttp://www.openwall.com/lists/oss-security/2025/01/28/4
