1. Archivio CVE
  2. 2019
  3. CVE-2019-10500

CVE-2019-10500

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

Descrizione

While processing MT Secondary PDP request, Buffer overflow will happen due to incorrect calculation of buffer size in Snapdragon Auto, Snapdragon Compute, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables in APQ8009, APQ8017, APQ8053, APQ8096, APQ8096AU, APQ8098, MDM9150, MDM9205, MDM9206, MDM9607, MDM9625, MDM9635M, MDM9640, MDM9645, MDM9650, MDM9655, MSM8905, MSM8909, MSM8909W, MSM8917, MSM8920, MSM8937, MSM8939, MSM8940, MSM8953, MSM8996AU, MSM8998, Nicobar, QCM2150, QCS605, QM215, SC8180X, SDA660, SDA845, SDM429, SDM439, SDM450, SDM630, SDM632, SDM636, SDM660, SDM670, SDM710, SDM845, SDM850, SDX20, SDX24, SDX55, SM6150, SM7150, SM8150, SXR1130

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
qualcomm apq8009 firmware tutte –
qualcomm apq8017 firmware tutte –
qualcomm apq8053 firmware tutte –
qualcomm apq8096 firmware tutte –
qualcomm apq8096au firmware tutte –
qualcomm apq8098 firmware tutte –
qualcomm mdm9150 firmware tutte –
qualcomm mdm9205 firmware tutte –
qualcomm mdm9206 firmware tutte –
qualcomm mdm9607 firmware tutte –
qualcomm mdm9625 firmware tutte –
qualcomm mdm9635m firmware tutte –
qualcomm mdm9640 firmware tutte –
qualcomm mdm9645 firmware tutte –
qualcomm mdm9650 firmware tutte –
qualcomm mdm9655 firmware tutte –
qualcomm msm8905 firmware tutte –
qualcomm msm8909 firmware tutte –
qualcomm msm8909w firmware tutte –
qualcomm msm8917 firmware tutte –
qualcomm msm8920 firmware tutte –
qualcomm msm8937 firmware tutte –
qualcomm msm8939 firmware tutte –
qualcomm msm8940 firmware tutte –
qualcomm msm8953 firmware tutte –
qualcomm msm8996au firmware tutte –
qualcomm msm8998 firmware tutte –
qualcomm nicobar firmware tutte –
qualcomm qcm2150 firmware tutte –
qualcomm qcs605 firmware tutte –
qualcomm qm215 firmware tutte –
qualcomm sc8180x firmware tutte –
qualcomm sda660 firmware tutte –
qualcomm sda845 firmware tutte –
qualcomm sdm429 firmware tutte –
qualcomm sdm439 firmware tutte –
qualcomm sdm450 firmware tutte –
qualcomm sdm630 firmware tutte –
qualcomm sdm632 firmware tutte –
qualcomm sdm636 firmware tutte –
qualcomm sdm660 firmware tutte –
qualcomm sdm670 firmware tutte –
qualcomm sdm710 firmware tutte –
qualcomm sdm845 firmware tutte –
qualcomm sdm850 firmware tutte –
qualcomm sdx20 firmware tutte –
qualcomm sdx24 firmware tutte –
qualcomm sdx55 firmware tutte –
qualcomm sm6150 firmware tutte –
qualcomm sm7150 firmware tutte –
qualcomm sm8150 firmware tutte –
qualcomm sxr1130 firmware tutte –
Tutte le 703 vulnerabilità di Qualcomm Qcs605 Firmware

Tipo di vulnerabilità

CWE-131 Incorrect Calculation of Buffer Size

The product does not correctly calculate the size to be used when allocating a buffer.

Impatto sui sistemi

AmbitoImpatto
Integrità, Disponibilità, Riservatezza Interruzione del servizio: arresto o riavvio, Eseguire codice o comandi non autorizzati, Leggere la memoria, Modificare la memoria

Come si previene

Sviluppo When allocating a buffer for the purpose of transforming, converting, or encoding an input, allocate enough memory to handle the largest possible encoding. For example, in a routine that converts & characters to & for HTML entity encoding, the output buffer needs to be at least 5 times as large as the input buffer.
Sviluppo Understand the programming language's underlying representation and how it interacts with numeric calculation (CWE-681). Pay close attention to byte size discrepancies, precision, signed/unsigned distinctions, truncation, conversion and casting between types, not-a-number calculations, and how the language handles numbers that are too large or too small for its underlying representation. Also be careful to account for 32-bit, 64-bit, and other potential differences that may affect the numeric 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.
Architettura e progettazione Per ogni controllo di sicurezza eseguito lato client, ripeti lo stesso controllo lato server, per evitare CWE-602: un attaccante può aggirare i controlli del client modificando i valori dopo il controllo o eliminando del tutto i controlli dal client, e inviare poi al server i valori modificati.
Sviluppo When processing structured incoming data containing a size field followed by raw data, identify and resolve any inconsistencies between the size field and the actual size of the data (CWE-130).
Sviluppo When allocating memory that uses sentinels to mark the end of a data structure - such as NUL bytes in strings - make sure you also include the sentinel in your calculation of the total amount of memory that must be allocated.
Sviluppo Replace unbounded copy functions with analogous functions that support length arguments, such as strcpy with strncpy. Create these if they are not available.
Sviluppo Use sizeof() on the appropriate data type to avoid CWE-467.

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

Tutte le 183 CVE di tipo CWE-131, con andamento e prevenzione

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