1. Archivio CVE
  2. 2023
  3. CVE-2023-40438

CVE-2023-40438

5.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N 5.5 – Media

Descrizione

An issue was addressed with improved handling of temporary files. This issue is fixed in macOS Sonoma 14, iOS 16.7 and iPadOS 16.7. An app may be able to access edited photos saved to a temporary directory.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apple ipados < 16.7 –
apple iphone os < 16.7 –
apple macos < 14.0 –
Tutte le 2.398 vulnerabilità di Apple Ipados
Tutte le 3.524 vulnerabilità di Apple Macos

Tipo di vulnerabilità

CWE-379 Creation of Temporary File in Directory with Insecure Permissions

The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Requisiti Many contemporary languages have functions which properly handle this condition. Older C temp file functions are especially susceptible.
Sviluppo Try to store sensitive tempfiles in a directory which is not world readable -- i.e., per-user directories.
Sviluppo Avoid using vulnerable temp file functions.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 45 CVE di tipo CWE-379, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org