Medium

Apache Hive Incorrectly Assigns Permissions for a Critical Resource

  • Disclosed: 29.01.2025
  • Updated: 11.10.2026 12:21

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.hive:hive-exec < 4.0.1 4.0.1

References

CVSS score 5.5/10
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-732
Platform
Java / Kotlin (Maven)
Package
org.apache.hive:hive-exec
Disclosed
29.01.2025
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-c476-j253-5rgq - CC BY 4.0

Vulnerability history: org.apache.hive:hive-exec

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (10) in the archive
Total entries
10
First → latest
11.2018 01.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 5
  • Medium 2
  • Low 3

Disclosures per year

  1. 2018: 5
  2. 2019: 3
  3. 2020: 0
  4. 2021: 0
  5. 2022: 0
  6. 2023: 0
  7. 2024: 1
  8. 2025: 1
  9. 2026: 0
Severity:
  1. Apache Hive Incorrectly Assigns Permissions for a Critical Resource this entry
    Medium · 5.5 CVE-2024-29869 < 4.0.1 4.0.1
  2. High · 8.3 CVE-2022-41137 >= 4.0.0-alpha-1, < 4.0.0-alpha-2 4.0.0-alpha-2
  3. High · 7.3 CVE-2015-1772 >= 1.0.0, < 1.0.1, >= 1.1.0, < 1.1.1 1.0.1, 1.1.1
  4. High · 8.1 CVE-2018-11777 >= 3.0.0, < 3.1.1, < 2.3.4 3.1.1, 2.3.4

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.