CVE Vulnerabilities

CVE-2022-22169

Improper Initialization

Published: Jan 19, 2022 | Modified: Feb 01, 2022
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.

Affected Software

Name Vendor Start Version End Version
Junos Juniper 15.1 (including) 15.1 (including)
Junos Juniper 15.1-a1 (including) 15.1-a1 (including)
Junos Juniper 15.1-f (including) 15.1-f (including)
Junos Juniper 15.1-f1 (including) 15.1-f1 (including)
Junos Juniper 15.1-f2 (including) 15.1-f2 (including)
Junos Juniper 15.1-f2-s1 (including) 15.1-f2-s1 (including)
Junos Juniper 15.1-f2-s2 (including) 15.1-f2-s2 (including)
Junos Juniper 15.1-f2-s3 (including) 15.1-f2-s3 (including)
Junos Juniper 15.1-f2-s4 (including) 15.1-f2-s4 (including)
Junos Juniper 15.1-f3 (including) 15.1-f3 (including)
Junos Juniper 15.1-f4 (including) 15.1-f4 (including)
Junos Juniper 15.1-f5 (including) 15.1-f5 (including)
Junos Juniper 15.1-f5-s7 (including) 15.1-f5-s7 (including)
Junos Juniper 15.1-f6 (including) 15.1-f6 (including)
Junos Juniper 15.1-f6-s1 (including) 15.1-f6-s1 (including)
Junos Juniper 15.1-f6-s10 (including) 15.1-f6-s10 (including)
Junos Juniper 15.1-f6-s12 (including) 15.1-f6-s12 (including)
Junos Juniper 15.1-f6-s2 (including) 15.1-f6-s2 (including)
Junos Juniper 15.1-f6-s3 (including) 15.1-f6-s3 (including)
Junos Juniper 15.1-f6-s4 (including) 15.1-f6-s4 (including)
Junos Juniper 15.1-f6-s5 (including) 15.1-f6-s5 (including)
Junos Juniper 15.1-f6-s6 (including) 15.1-f6-s6 (including)
Junos Juniper 15.1-f6-s7 (including) 15.1-f6-s7 (including)
Junos Juniper 15.1-f6-s8 (including) 15.1-f6-s8 (including)
Junos Juniper 15.1-f6-s9 (including) 15.1-f6-s9 (including)
Junos Juniper 15.1-f7 (including) 15.1-f7 (including)
Junos Juniper 15.1-r (including) 15.1-r (including)
Junos Juniper 15.1-r1 (including) 15.1-r1 (including)
Junos Juniper 15.1-r2 (including) 15.1-r2 (including)
Junos Juniper 15.1-r3 (including) 15.1-r3 (including)
Junos Juniper 15.1-r4 (including) 15.1-r4 (including)
Junos Juniper 15.1-r4-s7 (including) 15.1-r4-s7 (including)
Junos Juniper 15.1-r4-s8 (including) 15.1-r4-s8 (including)
Junos Juniper 15.1-r4-s9 (including) 15.1-r4-s9 (including)
Junos Juniper 15.1-r5 (including) 15.1-r5 (including)
Junos Juniper 15.1-r5-s1 (including) 15.1-r5-s1 (including)
Junos Juniper 15.1-r5-s3 (including) 15.1-r5-s3 (including)
Junos Juniper 15.1-r5-s5 (including) 15.1-r5-s5 (including)
Junos Juniper 15.1-r5-s6 (including) 15.1-r5-s6 (including)
Junos Juniper 15.1-r6 (including) 15.1-r6 (including)
Junos Juniper 15.1-r6-s1 (including) 15.1-r6-s1 (including)
Junos Juniper 15.1-r6-s2 (including) 15.1-r6-s2 (including)
Junos Juniper 15.1-r6-s3 (including) 15.1-r6-s3 (including)
Junos Juniper 15.1-r6-s4 (including) 15.1-r6-s4 (including)
Junos Juniper 15.1-r6-s6 (including) 15.1-r6-s6 (including)
Junos Juniper 15.1-r7 (including) 15.1-r7 (including)
Junos Juniper 15.1-r7-s1 (including) 15.1-r7-s1 (including)
Junos Juniper 15.1-r7-s10 (including) 15.1-r7-s10 (including)
Junos Juniper 15.1-r7-s2 (including) 15.1-r7-s2 (including)
Junos Juniper 15.1-r7-s3 (including) 15.1-r7-s3 (including)
Junos Juniper 15.1-r7-s4 (including) 15.1-r7-s4 (including)
Junos Juniper 15.1-r7-s5 (including) 15.1-r7-s5 (including)
Junos Juniper 15.1-r7-s6 (including) 15.1-r7-s6 (including)
Junos Juniper 15.1-r7-s7 (including) 15.1-r7-s7 (including)
Junos Juniper 15.1-r7-s8 (including) 15.1-r7-s8 (including)
Junos Juniper 15.1-r7-s9 (including) 15.1-r7-s9 (including)
Junos Juniper 18.3 (including) 18.3 (including)
Junos Juniper 18.3-r (including) 18.3-r (including)
Junos Juniper 18.3-r1 (including) 18.3-r1 (including)
Junos Juniper 18.3-r1-s1 (including) 18.3-r1-s1 (including)
Junos Juniper 18.3-r1-s2 (including) 18.3-r1-s2 (including)
Junos Juniper 18.3-r1-s3 (including) 18.3-r1-s3 (including)
Junos Juniper 18.3-r1-s4 (including) 18.3-r1-s4 (including)
Junos Juniper 18.3-r1-s5 (including) 18.3-r1-s5 (including)
Junos Juniper 18.3-r1-s6 (including) 18.3-r1-s6 (including)
Junos Juniper 18.3-r2 (including) 18.3-r2 (including)
Junos Juniper 18.3-r2-s1 (including) 18.3-r2-s1 (including)
Junos Juniper 18.3-r2-s2 (including) 18.3-r2-s2 (including)
Junos Juniper 18.3-r2-s3 (including) 18.3-r2-s3 (including)
Junos Juniper 18.3-r2-s4 (including) 18.3-r2-s4 (including)
Junos Juniper 18.3-r3 (including) 18.3-r3 (including)
Junos Juniper 18.3-r3-s1 (including) 18.3-r3-s1 (including)
Junos Juniper 18.3-r3-s2 (including) 18.3-r3-s2 (including)
Junos Juniper 18.3-r3-s3 (including) 18.3-r3-s3 (including)
Junos Juniper 18.3-r3-s4 (including) 18.3-r3-s4 (including)
Junos Juniper 18.3-r3-s5 (including) 18.3-r3-s5 (including)
Junos Juniper 18.4 (including) 18.4 (including)
Junos Juniper 18.4-r1 (including) 18.4-r1 (including)
Junos Juniper 18.4-r1-s1 (including) 18.4-r1-s1 (including)
Junos Juniper 18.4-r1-s2 (including) 18.4-r1-s2 (including)
Junos Juniper 18.4-r1-s3 (including) 18.4-r1-s3 (including)
Junos Juniper 18.4-r1-s4 (including) 18.4-r1-s4 (including)
Junos Juniper 18.4-r1-s5 (including) 18.4-r1-s5 (including)
Junos Juniper 18.4-r1-s6 (including) 18.4-r1-s6 (including)
Junos Juniper 18.4-r1-s7 (including) 18.4-r1-s7 (including)
Junos Juniper 18.4-r2 (including) 18.4-r2 (including)
Junos Juniper 18.4-r2-s1 (including) 18.4-r2-s1 (including)
Junos Juniper 18.4-r2-s2 (including) 18.4-r2-s2 (including)
Junos Juniper 18.4-r2-s3 (including) 18.4-r2-s3 (including)
Junos Juniper 18.4-r2-s4 (including) 18.4-r2-s4 (including)
Junos Juniper 18.4-r2-s5 (including) 18.4-r2-s5 (including)
Junos Juniper 18.4-r2-s6 (including) 18.4-r2-s6 (including)
Junos Juniper 18.4-r2-s7 (including) 18.4-r2-s7 (including)
Junos Juniper 18.4-r2-s8 (including) 18.4-r2-s8 (including)
Junos Juniper 18.4-r2-s9 (including) 18.4-r2-s9 (including)
Junos Juniper 18.4-r3 (including) 18.4-r3 (including)
Junos Juniper 18.4-r3-s1 (including) 18.4-r3-s1 (including)
Junos Juniper 18.4-r3-s10 (including) 18.4-r3-s10 (including)
Junos Juniper 18.4-r3-s2 (including) 18.4-r3-s2 (including)
Junos Juniper 18.4-r3-s3 (including) 18.4-r3-s3 (including)
Junos Juniper 18.4-r3-s4 (including) 18.4-r3-s4 (including)
Junos Juniper 18.4-r3-s5 (including) 18.4-r3-s5 (including)
Junos Juniper 18.4-r3-s6 (including) 18.4-r3-s6 (including)
Junos Juniper 18.4-r3-s7 (including) 18.4-r3-s7 (including)
Junos Juniper 18.4-r3-s8 (including) 18.4-r3-s8 (including)
Junos Juniper 18.4-r3-s9 (including) 18.4-r3-s9 (including)
Junos Juniper 19.1 (including) 19.1 (including)
Junos Juniper 19.1-r1 (including) 19.1-r1 (including)
Junos Juniper 19.1-r1-s1 (including) 19.1-r1-s1 (including)
Junos Juniper 19.1-r1-s2 (including) 19.1-r1-s2 (including)
Junos Juniper 19.1-r1-s3 (including) 19.1-r1-s3 (including)
Junos Juniper 19.1-r1-s4 (including) 19.1-r1-s4 (including)
Junos Juniper 19.1-r1-s5 (including) 19.1-r1-s5 (including)
Junos Juniper 19.1-r1-s6 (including) 19.1-r1-s6 (including)
Junos Juniper 19.1-r2 (including) 19.1-r2 (including)
Junos Juniper 19.1-r2-s1 (including) 19.1-r2-s1 (including)
Junos Juniper 19.1-r2-s2 (including) 19.1-r2-s2 (including)
Junos Juniper 19.1-r3 (including) 19.1-r3 (including)
Junos Juniper 19.1-r3-s1 (including) 19.1-r3-s1 (including)
Junos Juniper 19.1-r3-s2 (including) 19.1-r3-s2 (including)
Junos Juniper 19.1-r3-s3 (including) 19.1-r3-s3 (including)
Junos Juniper 19.1-r3-s4 (including) 19.1-r3-s4 (including)
Junos Juniper 19.1-r3-s5 (including) 19.1-r3-s5 (including)
Junos Juniper 19.1-r3-s6 (including) 19.1-r3-s6 (including)
Junos Juniper 19.2 (including) 19.2 (including)
Junos Juniper 19.2-r1 (including) 19.2-r1 (including)
Junos Juniper 19.2-r1-s1 (including) 19.2-r1-s1 (including)
Junos Juniper 19.2-r1-s2 (including) 19.2-r1-s2 (including)
Junos Juniper 19.2-r1-s3 (including) 19.2-r1-s3 (including)
Junos Juniper 19.2-r1-s4 (including) 19.2-r1-s4 (including)
Junos Juniper 19.2-r1-s5 (including) 19.2-r1-s5 (including)
Junos Juniper 19.2-r1-s6 (including) 19.2-r1-s6 (including)
Junos Juniper 19.2-r3 (including) 19.2-r3 (including)
Junos Juniper 19.2-r3-s1 (including) 19.2-r3-s1 (including)
Junos Juniper 19.2-r3-s2 (including) 19.2-r3-s2 (including)
Junos Juniper 19.2-r3-s3 (including) 19.2-r3-s3 (including)
Junos Juniper 19.3 (including) 19.3 (including)
Junos Juniper 19.3-r1 (including) 19.3-r1 (including)
Junos Juniper 19.3-r1-s1 (including) 19.3-r1-s1 (including)
Junos Juniper 19.3-r2 (including) 19.3-r2 (including)
Junos Juniper 19.3-r2-s1 (including) 19.3-r2-s1 (including)
Junos Juniper 19.3-r2-s2 (including) 19.3-r2-s2 (including)
Junos Juniper 19.3-r2-s3 (including) 19.3-r2-s3 (including)
Junos Juniper 19.3-r2-s4 (including) 19.3-r2-s4 (including)
Junos Juniper 19.3-r2-s5 (including) 19.3-r2-s5 (including)
Junos Juniper 19.3-r2-s6 (including) 19.3-r2-s6 (including)
Junos Juniper 19.3-r3 (including) 19.3-r3 (including)
Junos Juniper 19.3-r3-s1 (including) 19.3-r3-s1 (including)
Junos Juniper 19.3-r3-s2 (including) 19.3-r3-s2 (including)
Junos Juniper 19.3-r3-s3 (including) 19.3-r3-s3 (including)
Junos Juniper 19.4 (including) 19.4 (including)
Junos Juniper 19.4-r1 (including) 19.4-r1 (including)
Junos Juniper 19.4-r1-s1 (including) 19.4-r1-s1 (including)
Junos Juniper 19.4-r1-s2 (including) 19.4-r1-s2 (including)
Junos Juniper 19.4-r1-s3 (including) 19.4-r1-s3 (including)
Junos Juniper 19.4-r1-s4 (including) 19.4-r1-s4 (including)
Junos Juniper 19.4-r2 (including) 19.4-r2 (including)
Junos Juniper 19.4-r2-s1 (including) 19.4-r2-s1 (including)
Junos Juniper 19.4-r2-s2 (including) 19.4-r2-s2 (including)
Junos Juniper 19.4-r2-s3 (including) 19.4-r2-s3 (including)
Junos Juniper 19.4-r2-s4 (including) 19.4-r2-s4 (including)
Junos Juniper 19.4-r2-s5 (including) 19.4-r2-s5 (including)
Junos Juniper 19.4-r3 (including) 19.4-r3 (including)
Junos Juniper 19.4-r3-s1 (including) 19.4-r3-s1 (including)
Junos Juniper 19.4-r3-s2 (including) 19.4-r3-s2 (including)
Junos Juniper 19.4-r3-s3 (including) 19.4-r3-s3 (including)
Junos Juniper 19.4-r3-s4 (including) 19.4-r3-s4 (including)
Junos Juniper 19.4-r3-s5 (including) 19.4-r3-s5 (including)
Junos Juniper 20.1 (including) 20.1 (including)
Junos Juniper 20.1-r1 (including) 20.1-r1 (including)
Junos Juniper 20.1-r1-s1 (including) 20.1-r1-s1 (including)
Junos Juniper 20.1-r1-s2 (including) 20.1-r1-s2 (including)
Junos Juniper 20.1-r1-s3 (including) 20.1-r1-s3 (including)
Junos Juniper 20.1-r1-s4 (including) 20.1-r1-s4 (including)
Junos Juniper 20.1-r2 (including) 20.1-r2 (including)
Junos Juniper 20.1-r2-s1 (including) 20.1-r2-s1 (including)
Junos Juniper 20.1-r2-s2 (including) 20.1-r2-s2 (including)
Junos Juniper 20.1-r3 (including) 20.1-r3 (including)
Junos Juniper 20.1-r3-s1 (including) 20.1-r3-s1 (including)
Junos Juniper 20.1-r3-s2 (including) 20.1-r3-s2 (including)
Junos Juniper 20.2 (including) 20.2 (including)
Junos Juniper 20.2-r1 (including) 20.2-r1 (including)
Junos Juniper 20.2-r1-s1 (including) 20.2-r1-s1 (including)
Junos Juniper 20.2-r1-s2 (including) 20.2-r1-s2 (including)
Junos Juniper 20.2-r1-s3 (including) 20.2-r1-s3 (including)
Junos Juniper 20.2-r2 (including) 20.2-r2 (including)
Junos Juniper 20.2-r2-s1 (including) 20.2-r2-s1 (including)
Junos Juniper 20.2-r2-s2 (including) 20.2-r2-s2 (including)
Junos Juniper 20.2-r2-s3 (including) 20.2-r2-s3 (including)
Junos Juniper 20.2-r3 (including) 20.2-r3 (including)
Junos Juniper 20.2-r3-s1 (including) 20.2-r3-s1 (including)
Junos Juniper 20.2-r3-s2 (including) 20.2-r3-s2 (including)
Junos Juniper 20.3 (including) 20.3 (including)
Junos Juniper 20.3-r1 (including) 20.3-r1 (including)
Junos Juniper 20.3-r1-s1 (including) 20.3-r1-s1 (including)
Junos Juniper 20.3-r2 (including) 20.3-r2 (including)
Junos Juniper 20.3-r2-s1 (including) 20.3-r2-s1 (including)
Junos Juniper 20.3-r3 (including) 20.3-r3 (including)
Junos Juniper 20.4 (including) 20.4 (including)
Junos Juniper 20.4-r1 (including) 20.4-r1 (including)
Junos Juniper 20.4-r1-s1 (including) 20.4-r1-s1 (including)
Junos Juniper 20.4-r2 (including) 20.4-r2 (including)
Junos Juniper 20.4-r2-s1 (including) 20.4-r2-s1 (including)
Junos Juniper 20.4-r2-s2 (including) 20.4-r2-s2 (including)
Junos Juniper 21.1 (including) 21.1 (including)
Junos Juniper 21.1-r1 (including) 21.1-r1 (including)
Junos Juniper 21.1-r1-s1 (including) 21.1-r1-s1 (including)
Junos Juniper 21.1-r2 (including) 21.1-r2 (including)
Junos Juniper 21.2 (including) 21.2 (including)
Junos Juniper 21.2-r1 (including) 21.2-r1 (including)
Junos_os_evolved Juniper * 21.2 (excluding)
Junos_os_evolved Juniper 21.2 (including) 21.2 (including)
Junos_os_evolved Juniper 21.2-r1 (including) 21.2-r1 (including)
Junos_os_evolved Juniper 21.2-r1-s1 (including) 21.2-r1-s1 (including)
Junos_os_evolved Juniper 21.2-r1-s2 (including) 21.2-r1-s2 (including)

Potential Mitigations

  • 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.

References