1. Archivio CVE
  2. 2022
  3. CVE-2022-22193

CVE-2022-22193

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

An Improper Handling of Unexpected Data Type vulnerability in the Routing Protocol Daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a locally authenticated attacker with low privileges to cause a Denial of Service (DoS). Continued execution of this command might cause a sustained Denial of Service condition. If BGP rib sharding is configured and a certain CLI command is executed the rpd process can crash. During the rpd crash and restart, the routing protocols might be impacted and traffic disruption might be seen due to the loss of routing information. This issue affects: Juniper Networks Junos OS 20.3 versions prior to 20.3R3-S1; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R3; 21.2 versions prior to 21.2R2. Juniper Networks Junos OS Evolved 20.4 versions prior to 20.4R3-EVO; 21.1 versions prior to 21.1R3-EVO; 21.2 versions prior to 21.2R2-EVO. This issue does not affect: Juniper Networks Junos OS versions prior to 20.3R1. Juniper Networks Junos OS Evolved versions prior to 20.3R1-EVO.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos 20.3 r1 –
juniper junos 20.3 r1-s1 –
juniper junos 20.3 r2 –
juniper junos 20.3 r2-s1 –
juniper junos 20.3 r3 –
juniper junos 20.4 r1 –
juniper junos 20.4 r1-s1 –
juniper junos 20.4 r2 –
juniper junos 20.4 r2-s1 –
juniper junos 21.1 r1 –
juniper junos 21.1 r1-s1 –
juniper junos 21.1 r2 –
juniper junos 21.1 r2-s1 –
juniper junos 21.1 r2-s2 –
juniper junos 21.2 r1 –
juniper junos 21.2 r1-s1 –
juniper junos 21.2 r1-s2 –
juniper junos os evolved 20.4 r1 –
juniper junos os evolved 20.4 r1-s1 –
juniper junos os evolved 20.4 r1-s2 –
juniper junos os evolved 20.4 r2 –
juniper junos os evolved 20.4 r2-s1 –
juniper junos os evolved 20.4 r2-s2 –
juniper junos os evolved 20.4 r2-s3 –
juniper junos os evolved 21.1 r1 –
juniper junos os evolved 21.1 r1-s1 –
juniper junos os evolved 21.1 r2 –
juniper junos os evolved 21.2 r1 –
juniper junos os evolved 21.2 r1-s1 –
juniper junos os evolved 21.2 r1-s2 –
Tutte le 793 vulnerabilità di Juniper Junos
Tutte le 250 vulnerabilità di Juniper Junos Os Evolved

Tipo di vulnerabilità

CWE-241 Improper Handling of Unexpected Data Type

The product does not handle or incorrectly handles when a particular element is not the expected type, e.g. it expects a digit (0-9) but is provided with a letter (A-Z).

Impatto sui sistemi

AmbitoImpatto
Integrità, Altro Dipende dal contesto, Stato imprevisto

Come si previene

Sviluppo · Validazione dell’input Considera ogni input come potenzialmente malevolo. Adotta una validazione per «elenco di valori ammessi»: accetta solo gli input che rispettano rigorosamente le specifiche e rifiuta, o trasforma in qualcosa di conforme, tutto il resto. Nel validare considera tutte le proprietà rilevanti: lunghezza, tipo, intervallo dei valori ammessi, input mancanti o in più, sintassi, coerenza tra campi collegati e rispetto delle regole di business (per esempio «barca» è sintatticamente valido perché contiene solo lettere, ma non lo è se il campo deve contenere solo colori come rosso o blu). Non limitarti a cercare input malevoli o malformati: quasi certamente ne sfuggirà qualcuno, soprattutto se l’ambiente del codice cambia, lasciando all’attaccante lo spazio per aggirare la validazione. Le liste di valori vietati restano utili per rilevare possibili attacchi o scartare subito gli input più malformati.
Sviluppo · Validazione dell’input Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

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

Tutte le 27 CVE di tipo CWE-241, con andamento e prevenzione

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