CVE-2022-22164

Summary

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.

Affected Software

VendorProductVersion RangeStatus
Juniper NetworksJunos OS Evolvedunspecified < 20.4R2-S2-EVOaffected
Juniper NetworksJunos OS Evolved21.1R1-EVO < 21.1*affected
Juniper NetworksJunos OS Evolved21.2 < 21.2R2-EVOaffected

Weaknesses

  • CWE-665: CWE-665 Improper Initialization

Workarounds

To work around the issue, the xinetd service can be restarted manually using one of the commands below:

user@device% systemctl restart xinetd or user@device% systemctl restart services-xinetd

Additionally, loopback/firewall filters can be applied to disable remote access to the telnet service.

ADP Enrichment

CVE Program Container

Additional References

References