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

CVE-2022-22169

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

Descrizione

An Improper Initialization vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an attacker who sends specific packets in certain orders and at specific timings to force OSPFv3 to unexpectedly enter graceful-restart (GR helper mode) even though there is not any Grace-LSA received in OSPFv3 causing a Denial of Service (DoS). Unexpectedly entering GR helper mode might cause the OSPFv3 neighbor adjacency formed on this interface to be stuck in the "INIT" state which can be observed by issuing the following command: user@device> show ospf3 neighbor ID Interface State xx.xx.xx.xx ae100.0 Init <<<<<<<<<< An indicator of compromise can be seen in log files when traceoptions for OSPFv3 are enabled before the issue occurs. These logfile messages are as follows: OSPF restart signaling: Received hello with LR bit set from nbr ip=xx::xx id=xx.xx.xx.xx. Set oob-resync capabilty 1. OSPF Restart Signaling: Start helper mode for nbr ip xx::xx id xx.xx.xx.xx OSPF restart signaling: abort helper mode for nbr ip=xx::xx id=xx.xx.xx.xx OSPF neighbor xx::xx (realm ipv6-unicast <interface.unit> area xx.xx.xx.xx) state changed from Full to Init due to 1WayRcvd (event reason: neighbor is in one-way mode) (nbr helped: 0) This issue affects: Juniper Networks Junos OS. 15.1 versions prior to 15.1R7-S11; 18.3 versions prior to 18.3R3-S6; 18.4 versions prior to 18.4R2-S9, 18.4R3-S10; 19.1 versions prior to 19.1R2-S3, 19.1R3-S7; 19.2 versions prior to 19.2R1-S7, 19.2R3-S4; 19.3 versions prior to 19.3R2-S7, 19.3R3-S4; 19.4 versions prior to 19.4R3-S6; 20.1 versions prior to 20.1R3-S1; 20.2 versions prior to 20.2R3-S3; 20.3 versions prior to 20.3R3-S1; 20.4 versions prior to 20.4R2-S2, 20.4R3; 21.1 versions prior to 21.1R3; 21.2 versions prior to 21.2R1-S1, 21.2R2. This issue does not affect any version of Juniper Networks Junos OS 12.3. This issue affects Juniper Networks Junos OS Evolved all versions prior to 21.2R2-EVO.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos 19.4 r3-s3 –
juniper junos 19.4 r3-s4 –
juniper junos 19.4 r3-s5 –
juniper junos 20.1 –
juniper junos 20.1 r1 –
juniper junos 20.1 r1-s1 –
juniper junos 20.1 r1-s2 –
juniper junos 20.1 r1-s3 –
juniper junos 20.1 r1-s4 –
juniper junos 20.1 r2 –
juniper junos 20.1 r2-s1 –
juniper junos 20.1 r2-s2 –
juniper junos 20.1 r3 –
juniper junos 20.1 r3-s1 –
juniper junos 20.1 r3-s2 –
juniper junos 20.2 –
juniper junos 20.2 r1 –
juniper junos 20.2 r1-s1 –
juniper junos 20.2 r1-s2 –
juniper junos 20.2 r1-s3 –
juniper junos 20.2 r2 –
juniper junos 20.2 r2-s1 –
juniper junos 20.2 r2-s2 –
juniper junos 20.2 r2-s3 –
juniper junos 20.2 r3 –
juniper junos 20.2 r3-s1 –
juniper junos 20.2 r3-s2 –
juniper junos 20.3 –
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 –
juniper junos 20.4 r1 –
juniper junos 20.4 r1-s1 –
juniper junos 20.4 r2 –
juniper junos 20.4 r2-s1 –
juniper junos 20.4 r2-s2 –
juniper junos 21.1 –
juniper junos 21.1 r1 –
juniper junos 21.1 r1-s1 –
juniper junos 21.1 r2 –
juniper junos 21.2 –
juniper junos 21.2 r1 –
juniper junos 15.1 –
juniper junos 15.1 a1 –
juniper junos 15.1 f –
juniper junos 15.1 f1 –
juniper junos 15.1 f2 –
juniper junos 15.1 f2-s1 –
juniper junos 15.1 f2-s2 –
juniper junos 15.1 f2-s3 –
juniper junos 15.1 f2-s4 –
juniper junos 15.1 f3 –
juniper junos 15.1 f4 –
juniper junos 15.1 f5 –
juniper junos 15.1 f5-s7 –
juniper junos 15.1 f6 –
juniper junos 15.1 f6-s1 –
juniper junos 15.1 f6-s10 –
juniper junos 15.1 f6-s12 –
juniper junos 15.1 f6-s2 –
juniper junos 15.1 f6-s3 –
juniper junos 15.1 f6-s4 –
juniper junos 15.1 f6-s5 –
juniper junos 15.1 f6-s6 –
juniper junos 15.1 f6-s7 –
juniper junos 15.1 f6-s8 –
juniper junos 15.1 f6-s9 –
juniper junos 15.1 f7 –
juniper junos 15.1 r –
juniper junos 15.1 r1 –
juniper junos 15.1 r2 –
juniper junos 15.1 r3 –
juniper junos 15.1 r4 –
juniper junos 15.1 r4-s7 –
juniper junos 15.1 r4-s8 –
juniper junos 15.1 r4-s9 –
juniper junos 15.1 r5 –
juniper junos 15.1 r5-s1 –
juniper junos 15.1 r5-s3 –
juniper junos 15.1 r5-s5 –
juniper junos 15.1 r5-s6 –
juniper junos 15.1 r6 –
juniper junos 15.1 r6-s1 –
juniper junos 15.1 r6-s2 –
juniper junos 15.1 r6-s3 –
juniper junos 15.1 r6-s4 –
juniper junos 15.1 r6-s6 –
juniper junos 15.1 r7 –
juniper junos 15.1 r7-s1 –
juniper junos 15.1 r7-s10 –
juniper junos 15.1 r7-s2 –
juniper junos 15.1 r7-s3 –
juniper junos 15.1 r7-s4 –
juniper junos 15.1 r7-s5 –
juniper junos 15.1 r7-s6 –
juniper junos 15.1 r7-s7 –
juniper junos 15.1 r7-s8 –

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

Tutte le 793 vulnerabilità di Juniper Junos
Tutte le 250 vulnerabilità di Juniper Junos Os Evolved

Tipo di vulnerabilità

CWE-665 Improper Initialization

The product does not initialize or incorrectly initializes a resource.

Impatto sui sistemi

AmbitoImpatto
Altro Dipende dal contesto
Riservatezza Leggere la memoria, Leggere i dati dell’applicazione
Controllo degli accessi Aggirare i meccanismi di protezione
Disponibilità Interruzione del servizio: arresto o riavvio

Come si previene

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. For example, in Java, if the programmer does not explicitly initialize a variable, then the code could produce a compile-time error (if the variable is local) or automatically initialize the variable to the default value for the variable's type. In Perl, if explicit initialization is not performed, then a default value of undef is assigned, which is interpreted as 0, false, or an equivalent value depending on the context in which the variable is accessed.
Architettura e progettazione Identify all variables and data stores that receive information from external sources, and apply input validation to make sure that they are only initialized to expected values.
Sviluppo Explicitly initialize all your variables and other data stores, either during declaration or just before the first usage.
Sviluppo Pay close attention to complex conditionals that affect initialization, since some conditions might not perform the initialization.
Sviluppo Avoid race conditions (CWE-362) during initialization routines.
Build e compilazione Run or compile your product with settings that generate warnings about uninitialized variables or data.

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

Tutte le 347 CVE di tipo CWE-665, con andamento e prevenzione

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