CVE-2024-47884
Raw vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XCVSS 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-47884 is a low-severity Creation of Temporary File With Insecure Permissions (CWE-378) vulnerability. Its CVSS base score is 2.4 (Low).
Operationally, exploitation aligns with the MITRE ATT&CK technique Ccache Files (T1558.005); ranked at the 8th 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-42715
Vulnerability Data
foxmarks is a CLI read-only interface for Firefox's bookmarks and history. A temporary file was created under the /tmp directory with read permissions for all users containing a copy of Firefox's database of bookmarks, history, input history, visits counter, use…
more
counter, view counter and more confidential information about the history of using Firefox. Permissions default to 0o600 for NamedTempFile. However, after copying the database, its permissions were copied with it resulting in an insecure file with 0x644 permissions. A malicious user is able to read the database when the targeted user executes foxmarks bookmarks or foxmarks history. This vulnerability is patched in v2.1.0.
- 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.