1. Archivio CVE
  2. 2010
  3. CVE-2010-2955

CVE-2010-2955

2.1 Gravità bassa CVSS v2.0 · fonte NVD AV:L/AC:L/Au:N/C:P/I:N/A:N 2.1 – Bassa

Descrizione

The cfg80211_wext_giwessid function in net/wireless/wext-compat.c in the Linux kernel before 2.6.36-rc3-next-20100831 does not properly initialize certain structure members, which allows local users to leverage an off-by-one error in the ioctl_standard_iw_point function in net/wireless/wext-core.c, and obtain potentially sensitive information from kernel heap memory, via vectors involving an SIOCGIWESSID ioctl call that specifies a large buffer size.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 6.06 –
canonical ubuntu linux 8.04 –
canonical ubuntu linux 9.04 –
canonical ubuntu linux 9.10 –
canonical ubuntu linux 10.04 –
canonical ubuntu linux 10.10 –
linux linux kernel < 2.6.36 –
linux linux kernel 2.6.36 –
linux linux kernel 2.6.36 rc1 –
linux linux kernel 2.6.36 rc2 –
opensuse opensuse 11.1 –
suse linux enterprise desktop 11 –
suse linux enterprise real time extension 11 sp1 –
suse linux enterprise server 11 –
Tutte le 23.461 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-193 Off-by-one Error

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: instabilità
Integrità Modificare la memoria
Riservatezza, Disponibilità, Controllo degli accessi Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione

Come si previene

Sviluppo When copying character arrays or using character manipulation methods, the correct size parameter must be used to account for the null terminator that needs to be added at the end of the array. Some examples of functions susceptible to this weakness in C include strcpy(), strncpy(), strcat(), strncat(), printf(), sprintf(), scanf() and sscanf().

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

Tutte le 233 CVE di tipo CWE-193, con andamento e prevenzione

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