1. Archivio CVE
  2. 2020
  3. CVE-2020-0022

CVE-2020-0022

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

Descrizione

In reassemble_and_dispatch of packet_fragmenter.cc, there is possible out of bounds write due to an incorrect bounds calculation. This could lead to remote code execution over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-8.0 Android-8.1 Android-9 Android-10Android ID: A-143894715

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
google android 8.0 –
google android 8.1 –
google android 9.0 –
google android 10.0 –
huawei honor 8a firmware < 9.1.0.291\(c185e3r4p1\) –
huawei honor 8x firmware < 10.0.0.183\(c185e2r6p1\) –
huawei honor view 20 firmware < 10.0.0.195\(c636e3r4p3\) –
huawei mate 20 firmware < 10.0.0.195\(c00e74r3p8\) –
huawei mate 20 pro firmware < 10.0.0.196\(c185e7r2p4\) –
huawei mate 20 x firmware < 10.0.0.195\(c00e74r2p8\) –
huawei mate 30 5g firmware < 10.0.0.203\(c00e202r7p2\) –
huawei mate 30 firmware < 10.0.0.203\(c00e202r7p2\) –
huawei mate 30 pro 5g firmware < 10.0.0.203\(c00e202r7p2\) –
huawei mate 30 pro firmware < 10.0.0.203\(c00e202r7p2\) –
huawei nova 3 firmware < 9.1.0.338\(c00e333r1p1t8\) –
huawei nova lite 3 firmware < 9.1.0.322\(c635e8r2p2\) –
huawei p smart 2019 firmware < 10.0.0.180\(c185e3r4p1\) –
huawei p smart firmware < 9.1.0.193\(c605e6r1p5t8\) –
huawei p20 firmware < 10.0.0.162\(c00e156r1p4\) –
huawei p20 pro firmware < 10.0.0.162\(c00e156r1p4\) –
huawei p30 firmware < 10.0.0.190\(c432e22r2p5\) –
huawei p30 pro firmware < 10.0.0.195\(c00e85r2p8\) –
huawei y6 2019 firmware < 9.1.0.290\(c185e5r4p1\) –
huawei y6 pro 2019 firmware < 9.1.0.290\(c636e5r3p1\) –
huawei y9 2019 firmware < 9.1.0.264\(c185e2r5p1t8\) –
Tutte le 8.805 vulnerabilità di Google Android

Tipo di vulnerabilità

CWE-682 Incorrect Calculation

The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio
Integrità, Riservatezza, Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento di risorse, Eseguire codice o comandi non autorizzati
Controllo degli accessi Ottenere privilegi o assumere un’altra identità
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Sviluppo Understand your programming language's underlying representation and how it interacts with numeric calculation. Pay close attention to byte size discrepancies, precision, signed/unsigned distinctions, truncation, conversion and casting between types, not-a-number calculations, and how your language handles numbers that are too large or too small for its underlying representation.
Sviluppo · Validazione dell’input Perform input validation on any numeric input by ensuring that it is within the expected range. Enforce that the input meets both the minimum and maximum requirements for the expected range.
Sviluppo Use the appropriate type for the desired action. For example, in C/C++, only use unsigned types for values that could never be negative, such as height, width, or other numbers related to quantity.
Architettura e progettazione · Scelta del linguaggio Use languages, libraries, or frameworks that make it easier to handle numbers without unexpected consequences. Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).
Architettura e progettazione · Librerie o framework Use languages, libraries, or frameworks that make it easier to handle numbers without unexpected consequences. Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).
Sviluppo · Hardening della compilazione Examine compiler warnings closely and eliminate problems with potential security implications, such as signed / unsigned mismatch in memory operations, or use of uninitialized variables. Even if the weakness is rarely exploitable, a single failure may lead to the compromise of the entire system.

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

Tutte le 159 CVE di tipo CWE-682, con andamento e prevenzione

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