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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Hadoop | < 3.4.0 | 3.4.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | apache-nifi +2 | 2.0.0-r0 | — |
| Wolfi rolling | celeborn-0.6 | 0.6.3-r7 | — |
| Wolfi rolling | druid | 37.0.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.hadoop:hadoop-common | < 3.4.0 | 3.4.0 | GHSA-f5fw-25gw-5m92 |
Advisories 2
- WID-SEC-2024-2215 Apache Hadoop: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Apr 27, 2026
- WID-SEC-2024-3684 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 11, 2024
References
- https://issues.apache.org/jira/browse/HADOOP-19031 issue-tracking
- https://lists.apache.org/thread/xlo7q8kn4tsjvx059r789oz19hzgfkfs vendor-advisory