apache/hadoop · Security
Apache Hadoop: Temporary File Local Information Disclosure
- GHSA ID
- GHSA-f5fw-25gw-5m92
- CVE ID
- CVE-2024-23454
- Severity
- low
- Published
- Updated
- CVSS
- 3.3 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CVSS v3
- 3.3 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CVSS v4
- 2 · 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
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.
CWEs
- CWE-269 · Improper Privilege Management
- CWE-378 · Creation of Temporary File With Insecure Permissions
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 ↗
- http://www.openwall.com/lists/oss-security/2024/09/25/1 ↗
- https://github.com/advisories/GHSA-f5fw-25gw-5m92 ↗