1. Archivio CVE
  2. 2024
  3. CVE-2024-39562

CVE-2024-39562

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos os evolved 21.4 r1 –
juniper junos os evolved 21.4 r1-s1 –
juniper junos os evolved 21.4 r1-s2 –
juniper junos os evolved 21.4 r2 –
juniper junos os evolved 21.4 r2-s1 –
juniper junos os evolved 21.4 r2-s2 –
juniper junos os evolved 21.4 r3 –
juniper junos os evolved 21.4 r3-s1 –
juniper junos os evolved 21.4 r3-s2 –
juniper junos os evolved 21.4 r3-s3 –
juniper junos os evolved 21.4 r3-s4 –
juniper junos os evolved 21.4 r3-s5 –
juniper junos os evolved 21.4 r3-s6 –
juniper junos os evolved 22.3 –
juniper junos os evolved 22.3 r1 –
juniper junos os evolved 22.3 r1-s1 –
juniper junos os evolved 22.3 r1-s2 –
juniper junos os evolved 22.3 r2 –
juniper junos os evolved 22.3 r2-s1 –
juniper junos os evolved 22.4 –
juniper junos os evolved 22.4 r1 –
juniper junos os evolved 22.4 r1-s1 –
juniper junos os evolved 22.4 r1-s2 –
juniper junos os evolved 22.4 r2 –
juniper junos os evolved 22.4 r2-s1 –
juniper junos os evolved 22.4 r2-s2 –
juniper junos os evolved 23.2 –
juniper junos os evolved 23.2 r1 –
juniper junos os evolved 23.2 r1-s1 –
juniper junos os evolved 23.2 r1-s2 –
juniper junos os evolved < 21.4 –
juniper junos os evolved 21.4 –
Tutte le 250 vulnerabilità di Juniper Junos Os Evolved

Tipo di vulnerabilità

CWE-772 Risorsa non rilasciata dopo l’uso

Il prodotto non rilascia una risorsa quando non serve più.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento di risorse, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento della CPU

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, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.
Sviluppo It is good practice to be responsible for freeing all resources you allocate and to be consistent with how and where you free resources in a function. If you allocate resources that you intend to free upon completion of the function, you must be sure to free the resources at all exit points for that function including error conditions.
Esercizio · Architettura e progettazione · Limitazione delle risorse Use resource-limiting settings provided by the operating system or environment. For example, when managing system resources in POSIX, setrlimit() can be used to set limits for certain types of resources, and getrlimit() can determine how many resources are available. However, these functions are not available on all operating systems. When the current levels get close to the maximum that is defined for the application (see CWE-770), then limit the allocation of further resources to privileged users; alternately, begin releasing resources for less-privileged users. While this mitigation may protect the system from attack, it will not necessarily stop attackers from adversely impacting other users. Ensure that the application performs the appropriate error checks and error handling in case resources become unavailable (CWE-703).

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

Tutte le 519 CVE di tipo CWE-772, con andamento e prevenzione

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