CVE-2024-23454: Apache Hadoop: Temporary File Local Information Disclosure
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.
Published Sep 25, 2024 · Updated Sep 5, 2025
Affected packages
org.apache.hadoop:hadoop-common
- Ecosystem
- Maven
- Affected
- < 3.4.0
- Fixed in
- 3.4.0
- Check
mvn dependency:tree -Dincludes=org.apache.hadoop:hadoop-common
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to oscerd.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23454
- https://issues.apache.org/jira/browse/HADOOP-19031
- https://lists.apache.org/thread/xlo7q8kn4tsjvx059r789oz19hzgfkfs
- https://github.com/apache/hadoop/commit/8c2836402fbb2f619f1fef4ef625a8542e853a64
- https://security.netapp.com/advisory/ntap-20241101-0002
- https://github.com/advisories/GHSA-f5fw-25gw-5m92
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
