1. Archivio CVE
  2. 2009
  3. CVE-2009-2692

CVE-2009-2692

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

The Linux kernel 2.6.0 through 2.6.30.4, and 2.4.4 through 2.4.37.4, does not initialize all function pointers for socket operations in proto_ops structures, which allows local users to trigger a NULL pointer dereference and gain privileges by using mmap to map page zero, placing arbitrary code on this page, and then invoking an unavailable operation, as demonstrated by the sendpage operation (sock_sendpage function) on a PF_PPPOX socket.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 4.0 –
linux linux kernel >= 2.4.4 < 2.4.37.5 –
linux linux kernel >= 2.6.0 < 2.6.30.5 –
redhat enterprise linux desktop 4.0 –
redhat enterprise linux desktop 5.0 –
redhat enterprise linux eus 4.8 –
redhat enterprise linux eus 5.3 –
redhat enterprise linux server 4.0 –
redhat enterprise linux server 5.0 –
redhat enterprise linux server aus 5.3 –
redhat enterprise linux workstation 4.0 –
redhat enterprise linux workstation 5.0 –
suse linux enterprise real time 10 –
Tutte le 24.085 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-908 Uso di una risorsa non inizializzata

Il prodotto usa o accede a una risorsa che non è stata inizializzata.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere la memoria, Leggere i dati dell’applicazione
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità
Altro Stato imprevisto, Dipende dal contesto

Come si previene

Sviluppo Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.
Sviluppo Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
Sviluppo Avoid race conditions (CWE-362) during initialization routines.
Build e compilazione Run or compile the product with settings that generate warnings about uninitialized variables or data.

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

Tutte le 1.027 CVE di tipo CWE-908, con andamento e prevenzione

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