CVE-2024-23454: Apache Hadoop Temporary File Local Information Disclosure Vulnerability

LOW
Advisory Identifier: GHSA-f5fw-25gw-5m92
CVSS 3.3
CWE-269 CWE-378
Published
Advisory Summary

CVE-2024-23454 is a LOW (CVSS 3.3) temporary file local information disclosure vulnerability (CWE-269: Improper Privilege Management) affecting Apache Hadoop libraries in the Maven ecosystem. The issue involves temporary file local information disclosure. Remediation is available by upgrading affected packages to version 3.4.0.

CVE-2024-23454 at a Glance

CVE Identifier CVE-2024-23454
GHSA Identifier GHSA-f5fw-25gw-5m92
Severity LOW
CVSS v3.1 Base Score 3.3
CWE Classification CWE-269: Improper Privilege Management
Affected Product Apache Hadoop
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 3.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-23454

To remediate this vulnerability, upgrade all affected Apache Hadoop dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.hadoop:hadoop-common fixed: 3.4.0
<dependency>
    <groupId>org.apache.hadoop</groupId>
    <artifactId>hadoop-common</artifactId>
    <version>3.4.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.hadoop

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-23454, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.hadoop

Analyze the terminal output to locate any version of Apache Hadoop in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.0), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.hadoop command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Apache Hadoop, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Apache Hadoop’s `RunJar.run()` does not set permissions for temporary directory by default. If sensitive data will be present in this file, all the other local users may be able to view the content. This is because, on unix-like systems, the system temporary directory is shared between all local users. As such, files written in this directory, without setting the correct posix permissions explicitly, may be viewable by all other local users.

CVE-2024-23454 Affected Apache Hadoop Versions

1 component(s)
Fixed Versions:
3.4.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.hadoop:hadoop-common
Maven
< 3.4.0
3.4.0

References

Frequently Asked Questions

What is CVE-2024-23454?
CVE-2024-23454 is a security vulnerability in Apache Hadoop involving Temporary File Local Information Disclosure under CWE-269: Improper Privilege Management.
Which Apache Hadoop versions are affected?
Affected versions include releases prior to 3.4.0 across affected packages: org.apache.hadoop:hadoop-common.
What version fixes CVE-2024-23454?
Upgrading to 3.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is hadoop-common affected?
Yes, org.apache.hadoop:hadoop-common is affected in releases prior to 3.4.0. Upgrade your dependency to 3.4.0 or later.
What is the CVSS score of CVE-2024-23454?
CVE-2024-23454 has a CVSS v3.1 base score of 3.3 (LOW) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-23454?
CVE-2024-23454 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check Maven dependencies for CVE-2024-23454?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.hadoop'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f5fw-25gw-5m92",
  "modified" : "2025-09-05T16:11:56Z",
  "published" : "2024-09-25T09:30:46Z",
  "aliases" : [ "CVE-2024-23454" ],
  "summary" : "Apache Hadoop: Temporary File Local Information Disclosure",
  "details" : "Apache Hadoop’s `RunJar.run()` does not set permissions for temporary directory by default. If sensitive data will be present in this file, all the other local users may be able to view the content. This is because, on unix-like systems, the system temporary directory is shared between all local users. As such, files written in this directory, without setting the correct posix permissions explicitly, may be viewable by all other local users.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.hadoop:hadoop-common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23454"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/hadoop/commit/8c2836402fbb2f619f1fef4ef625a8542e853a64"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/hadoop"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/HADOOP-19031"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/xlo7q8kn4tsjvx059r789oz19hzgfkfs"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20241101-0002"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/09/25/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269", "CWE-378" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-09-25T14:31:09Z",
    "nvd_published_at" : "2024-09-25T08:15:04Z"
  }
}