1. Archivio CVE
  2. 2011
  3. CVE-2011-2695

CVE-2011-2695

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

Multiple off-by-one errors in the ext4 subsystem in the Linux kernel before 3.0-rc5 allow local users to cause a denial of service (BUG_ON and system crash) by accessing a sparse file in extent format with a write operation involving a block number corresponding to the largest possible 32-bit unsigned integer.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel < 3.0 –
linux linux kernel 3.0 –
linux linux kernel 3.0 rc1 –
linux linux kernel 3.0 rc2 –
linux linux kernel 3.0 rc3 –
linux linux kernel 3.0 rc4 –
Tutte le 23.462 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