1. Archivio CVE
  2. 2024
  3. CVE-2024-43102

CVE-2024-43102

10 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H 10 – Critica

Descrizione

Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of UMTX_OP_SHM can lead to decreasing the reference count of the object representing the mapping too many times, causing it to be freed too early. A malicious code exercizing the UMTX_SHM_DESTROY sub-request in parallel can panic the kernel or enable further Use-After-Free attacks, potentially including code execution or Capsicum sandbox escape.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
freebsd freebsd >= 13.0 < 13.3 –
freebsd freebsd 13.3 –
freebsd freebsd 13.3 p1 –
freebsd freebsd 13.3 p2 –
freebsd freebsd 13.3 p3 –
freebsd freebsd 13.3 p4 –
freebsd freebsd 13.3 p5 –
freebsd freebsd 13.4 beta3 –
freebsd freebsd 14.0 –
freebsd freebsd 14.0 beta5 –
freebsd freebsd 14.0 p1 –
freebsd freebsd 14.0 p2 –
freebsd freebsd 14.0 p3 –
freebsd freebsd 14.0 p4 –
freebsd freebsd 14.0 p5 –
freebsd freebsd 14.0 p6 –
freebsd freebsd 14.0 p7 –
freebsd freebsd 14.0 p8 –
freebsd freebsd 14.0 p9 –
freebsd freebsd 14.0 rc3 –
freebsd freebsd 14.0 rc4-p1 –
freebsd freebsd 14.1 –
freebsd freebsd 14.1 p1 –
freebsd freebsd 14.1 p2 –
freebsd freebsd 14.1 p3 –
Tutte le 594 vulnerabilità di Freebsd

Tipo di vulnerabilità

CWE-416 Uso di memoria dopo la liberazione (use after free)

Il prodotto usa o fa riferimento a un’area di memoria dopo averla liberata. Nel frattempo quell’area può essere stata assegnata ad altro: ogni operazione fatta con il vecchio puntatore agisce su dati che non le appartengono più.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria
Disponibilità Interruzione del servizio: arresto o riavvio
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Scelta del linguaggio Choose a language that provides automatic memory management.
Sviluppo · Riduzione della superficie di attacco When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

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

Tutte le 9.640 CVE di tipo CWE-416, con andamento e prevenzione

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