CVE-2024-39562

Junos OS Evolved: A high rate of SSH connections causes a Denial of Service

State
Published
Severity
8.7 High
Published
Jul 10, 2024
Updated
Aug 2, 2024
Reserved
Jun 25, 2024

Read the record on cve.org

Description

A Missing Release of Resource after Effective Lifetime vulnerability the xinetd process, responsible for spawning SSH daemon (sshd) instances, of Juniper Networks Junos OS Evolved allows an unauthenticated network-based attacker to cause a Denial of Service (DoS) by blocking SSH access for legitimate users. Continued receipt of these connections will create a sustained Denial of Service (DoS) condition.

The issue is triggered when a high rate of concurrent SSH requests are received and terminated in a specific way, causing xinetd to crash, and leaving defunct sshd processes. Successful exploitation of this vulnerability blocks both SSH access as well as services which rely upon SSH, such as SFTP, and Netconf over SSH.

Once the system is in this state, legitimate users will be unable to SSH to the device until service is manually restored.  See WORKAROUND section below.

Administrators can monitor an increase in defunct sshd processes by utilizing the CLI command:

> show system processes | match sshd   root   25219 30901 0 Jul16 ?       00:00:00 [sshd] <defunct>

This issue affects Juniper Networks Junos OS Evolved: * All versions prior to 21.4R3-S7-EVO * 22.3-EVO versions prior to 22.3R2-S2-EVO, 22.3R3-S2-EVO; * 22.4-EVO versions prior to 22.4R3-EVO; * 23.2-EVO versions prior to 23.2R2-EVO.

This issue does not affect Juniper Networks Junos OS Evolved 22.1-EVO nor 22.2-EVO.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Njuniper
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hjuniper

Weaknesses

  • CWE-772 Missing Release of Resource after Effective Lifetime

Affected Products

ProductVersions
Junos OS EvolvedJuniper Networks
  • before 21.4R3-S7-EVOAffected
  • 22.3-EVO to before 22.3R2-S2-EVO, 22.3R3-S2-EVOAffected
  • 22.4-EVO to before 22.4R3-EVOAffected
  • 23.2-EVO to before 23.2R2-EVOAffected
  • 22.1-EVO to before 22.1*Not affected
  • 22.2-EVO to before 22.2*Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.