medium5.5
CVE-2024-29869
Apache Hive Incorrectly Assigns Permissions for a Critical Resource
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.hive:hive-exec | < 4.0.1 | 4.0.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Hive | from 1.1.0 before 4.0.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/apache/hive
- https://github.com/apache/hive/commit/20106e254527f7d71b2e34455c4322e14950c620
- https://issues.apache.org/jira/browse/HIVE-28134
- https://lists.apache.org/thread/h27ohpyrqf9w1m3c0tqr7x8jg59rcrv6
- http://www.openwall.com/lists/oss-security/2025/01/28/4
- https://github.com/advisories/GHSA-c476-j253-5rgq
- https://nvd.nist.gov/vuln/detail/CVE-2024-29869