Descrizione
A Use of Externally-Controlled Format String vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on SRX Series allows an unauthenticated, network-based attacker to cause a Denial-of-Service (DoS).
If DNS Domain Generation Algorithm (DGA) detection or tunnel detection, and DNS-filtering traceoptions are configured, and specific valid transit DNS traffic is received this causes a PFE crash and restart, leading to a Denial of Service.
This issue affects Junos OS:
* All versions before 21.4R3-S6,
* 22.2 versions before 22.2R3-S3,
* 22.3 versions before 22.3R3-S3,
* 22.4 versions before 22.4R3,
* 23.2 versions before 23.2R2.
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