1. Archivio CVE
  2. 2018
  3. CVE-2018-7899

CVE-2018-7899

5.5 Gravità media CVSS v3.0 · fonte NVD CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H 5.5 – Media

Descrizione

The Mali Driver of Huawei Berkeley-AL20 and Berkeley-BD smart phones with software Berkeley-AL20 8.0.0.105(C00), 8.0.0.111(C00), 8.0.0.112D(C00), 8.0.0.116(C00), 8.0.0.119(C00), 8.0.0.119D(C00), 8.0.0.122(C00), 8.0.0.132(C00), 8.0.0.132D(C00), 8.0.0.142(C00), 8.0.0.151(C00), Berkeley-BD 1.0.0.21, 1.0.0.22, 1.0.0.23, 1.0.0.24, 1.0.0.26, 1.0.0.29 has a double free vulnerability. An attacker can trick a user to install a malicious application and exploit this vulnerability when in the exception handling process. Successful exploitation may cause system reboot.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
huawei berkeley-al20 firmware 8.0.0.119d(c00) –
huawei berkeley-al20 firmware 8.0.0.122(c00) –
huawei berkeley-al20 firmware 8.0.0.132(c00) –
huawei berkeley-al20 firmware 8.0.0.132d(c00) –
huawei berkeley-al20 firmware 8.0.0.142(c00) –
huawei berkeley-al20 firmware 8.0.0.151(c00) –
huawei berkeley-al20 firmware 8.0.0.105(c00) –
huawei berkeley-al20 firmware 8.0.0.111(c00) –
huawei berkeley-al20 firmware 8.0.0.112d(c00) –
huawei berkeley-al20 firmware 8.0.0.116(c00) –
huawei berkeley-al20 firmware 8.0.0.119(c00) –
huawei berkeley-bd firmware 1.0.0.21 –
huawei berkeley-bd firmware 1.0.0.22 –
huawei berkeley-bd firmware 1.0.0.23 –
huawei berkeley-bd firmware 1.0.0.24 –
huawei berkeley-bd firmware 1.0.0.26 –
huawei berkeley-bd firmware 1.0.0.29 –

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 969 CVE di tipo CWE-415, con andamento e prevenzione

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