CVE-2024-23454
Apache Hadoop: Temporary File Local Information Disclosure
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.hadoop » hadoop-common | < 3.4.0 | 3.4.0 |
Blast radius
68% of the dependent artifacts (6,643) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 368,490 |
| 2 hops | 391,812 |
| 3 hops | 244,207 |
| 4 hops | 103,979 |
| 5 hops | 65,891 |
| 6 hops | 27,360 |
Most used dependents
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.hadoop » hadoop-hdfs1,377 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- org.apache.kafka » connect-api1,026 usages
- org.apache.flink » flink-streaming-java982 usages
- org.apache.hbase » hbase-client960 usages
- org.apache.hadoop » hadoop-core855 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.solr » solr-solrj784 usages
- org.apache.flink » flink-core735 usages
- org.apache.hive » hive-exec699 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-23454
- Webhttps://github.com/apache/hadoop/commit/8c2836402fbb2f619f1fef4ef625a8542e853a64
- Packagehttps://github.com/apache/hadoop
- Webhttps://issues.apache.org/jira/browse/HADOOP-19031
- Webhttps://lists.apache.org/thread/xlo7q8kn4tsjvx059r789oz19hzgfkfs
- Webhttps://security.netapp.com/advisory/ntap-20241101-0002
- Webhttp://www.openwall.com/lists/oss-security/2024/09/25/1
