1. Archivio CVE
  2. 2021
  3. CVE-2021-26346

CVE-2021-26346

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

Descrizione

Failure to validate the integer operand in ASP (AMD Secure Processor) bootloader may allow an attacker to introduce an integer overflow in the L2 directory table in SPI flash resulting in a potential denial of service.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
amd ryzen 3 3100 firmware tutte –
amd ryzen 3 3200g firmware tutte –
amd ryzen 3 3200u firmware tutte –
amd ryzen 3 3250c firmware tutte –
amd ryzen 3 3250u firmware tutte –
amd ryzen 3 3300g firmware tutte –
amd ryzen 3 3300u firmware tutte –
amd ryzen 3 3300x firmware tutte –
amd ryzen 3 3350u firmware tutte –
amd ryzen 3 3450u firmware tutte –
amd ryzen 3 3500c firmware tutte –
amd ryzen 3 3500u firmware tutte –
amd ryzen 3 3550h firmware tutte –
amd ryzen 3 3580u firmware tutte –
amd ryzen 3 3700c firmware tutte –
amd ryzen 3 3700u firmware tutte –
amd ryzen 3 3750h firmware tutte –
amd ryzen 3 3780u firmware tutte –
amd ryzen 3 5125c firmware tutte –
amd ryzen 3 5300g firmware tutte –
amd ryzen 3 5300ge firmware tutte –
amd ryzen 3 5300u firmware tutte –
amd ryzen 3 5400u firmware tutte –
amd ryzen 3 5425c firmware tutte –
amd ryzen 3 5425u firmware tutte –
amd ryzen 3 pro 3200g firmware tutte –
amd ryzen 3 pro 3200ge firmware tutte –
amd ryzen 3 pro 3300u firmware tutte –
amd ryzen 5 3400g firmware tutte –
amd ryzen 5 3450g firmware tutte –
amd ryzen 5 3450u firmware tutte –
amd ryzen 5 3500 firmware tutte –
amd ryzen 5 3500c firmware tutte –
amd ryzen 5 3500u firmware tutte –
amd ryzen 5 3500x firmware tutte –
amd ryzen 5 3550h firmware tutte –
amd ryzen 5 3580u firmware tutte –
amd ryzen 5 3600 firmware tutte –
amd ryzen 5 3600x firmware tutte –
amd ryzen 5 3600xt firmware tutte –
amd ryzen 5 5500 firmware tutte –
amd ryzen 5 5500u firmware tutte –
amd ryzen 5 5560u firmware tutte –
amd ryzen 5 5600 firmware tutte –
amd ryzen 5 5600g firmware tutte –
amd ryzen 5 5600ge firmware tutte –
amd ryzen 5 5600h firmware tutte –
amd ryzen 5 5600hs firmware tutte –
amd ryzen 5 5600u firmware tutte –
amd ryzen 5 5600x firmware tutte –
amd ryzen 5 5625c firmware tutte –
amd ryzen 5 5625u firmware tutte –
amd ryzen 5 5700g firmware tutte –
amd ryzen 5 5700ge firmware tutte –
amd ryzen 5 pro 3350g firmware tutte –
amd ryzen 5 pro 3350ge firmware tutte –
amd ryzen 5 pro 3400g firmware tutte –
amd ryzen 5 pro 3400ge firmware tutte –
amd ryzen 5 pro 3500u firmware tutte –
amd ryzen 7 3700c firmware tutte –
amd ryzen 7 3700u firmware tutte –
amd ryzen 7 3700x firmware tutte –
amd ryzen 7 3750h firmware tutte –
amd ryzen 7 3780u firmware tutte –
amd ryzen 7 3800x firmware tutte –
amd ryzen 7 3800xt firmware tutte –
amd ryzen 7 5700g firmware tutte –
amd ryzen 7 5700ge firmware tutte –
amd ryzen 7 5700u firmware tutte –
amd ryzen 7 5700x firmware tutte –
amd ryzen 7 5800 firmware tutte –
amd ryzen 7 5800h firmware tutte –
amd ryzen 7 5800hs firmware tutte –
amd ryzen 7 5800u firmware tutte –
amd ryzen 7 5800x firmware tutte –
amd ryzen 7 5800x3d firmware tutte –
amd ryzen 7 5825c firmware tutte –
amd ryzen 7 5825u firmware tutte –
amd ryzen 7 pro 3700u firmware tutte –
amd ryzen 9 3900 firmware tutte –
amd ryzen 9 3900x firmware tutte –
amd ryzen 9 3900xt firmware tutte –
amd ryzen 9 3950x firmware tutte –
amd ryzen 9 5900 firmware tutte –
amd ryzen 9 5900hs firmware tutte –
amd ryzen 9 5900hx firmware tutte –
amd ryzen 9 5900x firmware tutte –
amd ryzen 9 5950x firmware tutte –
amd ryzen 9 5980hs firmware tutte –
amd ryzen 9 5980hx firmware tutte –
amd ryzen pro 3200g firmware tutte –
amd ryzen pro 3200ge firmware tutte –
amd ryzen pro 3350g firmware tutte –
amd ryzen pro 3400g firmware tutte –
amd ryzen pro 3400ge firmware tutte –
amd ryzen pro 3600 firmware tutte –
amd ryzen pro 3700 firmware tutte –
amd ryzen pro 3900 firmware tutte –
amd ryzen pro 5350g firmware tutte –
amd ryzen pro 5350ge firmware tutte –

Mostrate 100 configurazioni su 104. L'elenco completo è su NVD.

Tutte le 14 vulnerabilità di Amd Ryzen 3 3250c Firmware

Tipo di vulnerabilità

CWE-190 Integer overflow o wraparound

Il prodotto esegue un calcolo che può superare il valore massimo rappresentabile da un intero, mentre la logica presume che il risultato sia sempre più grande del valore iniziale. In quel caso il valore può diventare molto piccolo o negativo.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, 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
Disponibilità, Altro Alterare la logica di esecuzione, Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU
Controllo degli accessi Aggirare i meccanismi di protezione
Controllo degli accessi Aggirare i meccanismi di protezione, Interruzione del servizio: arresto o riavvio

Come si previene

Requisiti Ensure that all protocols are strictly defined, such that all out-of-bounds behavior can be identified simply, and require strict conformance to the protocol.
Requisiti · Scelta del linguaggio Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. If possible, choose a language or compiler that performs automatic bounds checking.
Architettura e progettazione · Librerie o framework Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Use 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 · 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. Use unsigned integers where possible. This makes it easier to perform validation for integer overflows. When signed integers are required, ensure that the range check includes minimum values as well as maximum values.
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.
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 · 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 3.554 CVE di tipo CWE-190, con andamento e prevenzione

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