1. Archivio CVE
  2. 2008
  3. CVE-2008-2944

CVE-2008-2944

4.9 Gravità media CVSS v2.0 · fonte NVD AV:L/AC:L/Au:N/C:N/I:N/A:C 4.9 – Media

Descrizione

Double free vulnerability in the utrace support in the Linux kernel, probably 2.6.18, in Red Hat Enterprise Linux (RHEL) 5 and Fedora Core 6 (FC6) allows local users to cause a denial of service (oops), as demonstrated by a crash when running the GNU GDB testsuite, a different vulnerability than CVE-2008-2365.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
fedoraproject fedora core 6 –
linux linux kernel 2.6.18 –
redhat enterprise linux 5.0 –
Tutte le 8 vulnerabilità di Fedoraproject Fedora Core
Tutte le 23.461 vulnerabilità di Linux Kernel
Tutte le 2.741 vulnerabilità di Redhat Enterprise Linux

Tipo di vulnerabilità

CWE-415 Doppia liberazione della memoria (double free)

Il prodotto chiama due volte free() sullo stesso indirizzo di memoria.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità Modificare la memoria, Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione Choose a language that provides automatic memory management.
Sviluppo Ensure that each allocation is freed only once. After freeing a chunk, set the pointer to NULL to ensure the pointer cannot be freed again. In complicated error conditions, be sure that clean-up routines respect the state of allocation properly. If the language is object oriented, ensure that object destructors delete each chunk of memory only once.
Sviluppo Use a static analysis tool to find double free instances.

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

Tutte le 968 CVE di tipo CWE-415, con andamento e prevenzione

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