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

CVE-2019-10486

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

Descrizione

Race condition due to the lack of resource lock which will be concurrently modified in the memcpy statement leads to out of bound access in Snapdragon Auto, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables in APQ8009, APQ8017, APQ8053, APQ8096AU, APQ8098, MDM9206, MDM9207C, MDM9607, MDM9640, MDM9650, MSM8905, MSM8909W, MSM8939, MSM8953, MSM8996AU, MSM8998, Nicobar, QCN7605, QCS405, QCS605, QM215, SDA660, SDA845, SDM429, SDM439, SDM630, SDM632, SDM636, SDM660, SDM710, SDM845, SDX20, SDX24, SM6150, SM7150, SM8150

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
qualcomm apq8009 firmware tutte –
qualcomm apq8017 firmware tutte –
qualcomm apq8053 firmware tutte –
qualcomm apq8096au firmware tutte –
qualcomm apq8098 firmware tutte –
qualcomm mdm9206 firmware tutte –
qualcomm mdm9207c firmware tutte –
qualcomm mdm9607 firmware tutte –
qualcomm mdm9640 firmware tutte –
qualcomm mdm9650 firmware tutte –
qualcomm msm8905 firmware tutte –
qualcomm msm8909w firmware tutte –
qualcomm msm8939 firmware tutte –
qualcomm msm8953 firmware tutte –
qualcomm msm8996au firmware tutte –
qualcomm msm8998 firmware tutte –
qualcomm nicobar firmware tutte –
qualcomm qcn7605 firmware tutte –
qualcomm qcs405 firmware tutte –
qualcomm qcs605 firmware tutte –
qualcomm qm215 firmware tutte –
qualcomm sda660 firmware tutte –
qualcomm sda845 firmware tutte –
qualcomm sdm429 firmware tutte –
qualcomm sdm439 firmware tutte –
qualcomm sdm630 firmware tutte –
qualcomm sdm632 firmware tutte –
qualcomm sdm636 firmware tutte –
qualcomm sdm660 firmware tutte –
qualcomm sdm710 firmware tutte –
qualcomm sdm845 firmware tutte –
qualcomm sdx20 firmware tutte –
qualcomm sdx24 firmware tutte –
qualcomm sm6150 firmware tutte –
qualcomm sm7150 firmware tutte –
qualcomm sm8150 firmware tutte –
Tutte le 703 vulnerabilità di Qualcomm Qcs605 Firmware

Tipo di vulnerabilità

CWE-367 Race condition TOCTOU (Time-of-check Time-of-use)

Il prodotto controlla lo stato di una risorsa prima di usarla, ma lo stato può cambiare tra il controllo e l’uso, rendendo il controllo inutile.

Impatto sui sistemi

AmbitoImpatto
Integrità, Altro Alterare la logica di esecuzione, Stato imprevisto
Integrità, Altro Modificare i dati dell’applicazione, Modificare file o cartelle, Modificare la memoria, Altro
Integrità, Altro Altro
Non ripudio Nascondere le proprie attività
Non ripudio, Altro Altro
Altro Stato imprevisto

Come si previene

Sviluppo The most basic advice for TOCTOU vulnerabilities is to not perform a check before the use. This does not resolve the underlying issue of the execution of a function on a resource whose state and identity cannot be assured, but it does help to limit the false sense of security given by the check.
Sviluppo When the file being altered is owned by the current user and group, set the effective gid and uid to that of the current user and group when executing this statement.
Architettura e progettazione Limit the interleaving of operations on files from multiple processes.
Sviluppo · Architettura e progettazione If you cannot perform operations atomically and you must share access to the resource between multiple processes or threads, then try to limit the amount of time (CPU cycles) between the check and use of the resource. This will not fix the problem, but it could make it more difficult for an attack to succeed.
Sviluppo Recheck the resource after the use call to verify that the action was taken appropriately.
Architettura e progettazione Ensure that some environmental locking mechanism can be used to protect resources effectively.
Sviluppo Ensure that locking occurs before the check, as opposed to afterwards, such that the resource, as checked, is the same as it is when in use.

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

Tutte le 914 CVE di tipo CWE-367, con andamento e prevenzione

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