CVE Vulnerabilities

CVE-2022-22164

Improper Initialization

Published: Jan 19, 2022 | Modified: Jan 26, 2022
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu

An Improper Initialization vulnerability in Juniper Networks Junos OS Evolved may cause a commit operation for disabling the telnet service to not take effect as expected, resulting in the telnet service staying enabled. When it is not intended to be operating on the device, an administrator can issue the following command to verify whether telnet is operating in the background: user@device > show system connections | grep :23 tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 20879/xinetd This issue affects: Juniper Networks Junos OS Evolved All versions prior to 20.4R2-S2-EVO; 21.1 version 21.1R1-EVO and later versions; 21.2 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_os_evolved Juniper 20.4 (including) 20.4 (including)
Junos_os_evolved Juniper 20.4-r1 (including) 20.4-r1 (including)
Junos_os_evolved Juniper 20.4-r1-s1 (including) 20.4-r1-s1 (including)
Junos_os_evolved Juniper 20.4-r1-s2 (including) 20.4-r1-s2 (including)
Junos_os_evolved Juniper 20.4-r2 (including) 20.4-r2 (including)
Junos_os_evolved Juniper 20.4-r2-s1 (including) 20.4-r2-s1 (including)
Junos_os_evolved Juniper 20.4-r2-s2 (including) 20.4-r2-s2 (including)
Junos_os_evolved Juniper 20.4-r2-s3 (including) 20.4-r2-s3 (including)
Junos_os_evolved Juniper 20.4-r3-s1 (including) 20.4-r3-s1 (including)
Junos_os_evolved Juniper 21.1 (including) 21.1 (including)
Junos_os_evolved Juniper 21.2 (including) 21.2 (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