Descrizione
Wire before 2020-10-16 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a format string. This affects Wire AVS (Audio, Video, and Signaling) 5.3 through 6.x before 6.4, the Wire Secure Messenger application before 3.49.918 for Android, and the Wire Secure Messenger application before 3.61 for iOS. This occurs via the value parameter to sdp_media_set_lattr in peerflow/sdp.c.
Tipo di vulnerabilità
CWE-134
Stringa di formato controllata dall’esterno (format string)
Il prodotto usa una funzione che accetta una stringa di formato, ma quella stringa proviene da una fonte esterna.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere la memoria |
| Integrità, Riservatezza, Disponibilità |
Modificare la memoria, Eseguire codice o comandi non autorizzati |
Come si previene
Requisiti
Choose a language that is not subject to this flaw.
Sviluppo
Ensure that all format string functions are passed a static string which cannot be controlled by the user, and that the proper number of arguments are always sent to that function as well. If at all possible, use functions that do not support the %n operator in format strings.
Build e compilazione
Run compilers and linkers with high warning levels, since they may detect incorrect usage.
Tutte le 436 CVE di tipo CWE-134, con andamento e prevenzione