CVE-2024-23454
Apache Hadoop ≤ 3.4.0
Raw vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-23454 is a medium-severity Creation of Temporary File With Insecure Permissions (CWE-378) vulnerability in Apache Hadoop. Its CVSS base score is 6.2 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Ccache Files (T1558.005); ranked at the 36th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-6 (Least Privilege) and SC-4 (Information in Shared System Resources) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-2780
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
AC-6 limits privileges granted to processes creating or accessing temporary files, reducing blast radius of insecure permissions.
SC-4 directly stops unauthorized information transfer through shared resources such as temporary files created with weak permissions.
AC-3 enforces access authorizations on system resources including files, structurally stopping insecure temporary file permissions from being exploitable.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require proper temporary-file creation and permission handling.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect insecure temporary files but does not prevent their creation.
Training developers about secure temporary file creation (e.g., using mkstemp, setting restrictive permissions) reduces some instances of CWE-378, but this is a specific implementation detail that not all training programmes cover and even trained developers may default to convenient APIs like tmpfile() or createTempFile() without setting permissions, leaving a nameable remainder.
Secure coding standards directly prohibit insecure temporary file creation and permissions.
Information access restriction can limit exposure but does not address file creation itself.
A.8.8's reach is disclosure-based: it finds CWE-378 only where the weakness surfaces as a published CVE in a third-party component (e.g., CVE-2022-24823 in a Java framework). Most CWE-378 instances live in first-party code using tmpfile()/createTempFile() and never receive a CVE, so the disclosed share is a minority.