Descrizione
Vyper 0.3.8 through 0.5.0b1 contains a compiler miscompilation vulnerability in parse_IfExp that reads nested arrays with narrower inner bounds using the wider result type's memory layout. When a ternary selects the narrower array, inner arrays after the first are read at wrong offsets, causing contracts to silently store corrupted values or revert.
Tipo di vulnerabilità
CWE-843
Type confusion: accesso a una risorsa con un tipo incompatibile
Il prodotto crea una risorsa (puntatore, oggetto o variabile) di un certo tipo, ma in seguito vi accede come se fosse di un tipo incompatibile.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Dipende dal contesto |
| Disponibilità, Integrità, Riservatezza |
Leggere la memoria, Modificare la memoria, Eseguire codice o comandi non autorizzati, Interruzione del servizio: arresto o riavvio |
Tutte le 929 CVE di tipo CWE-843, con andamento e prevenzione