1. Archivio CVE
  2. 2021
  3. CVE-2021-31368

CVE-2021-31368

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

An Uncontrolled Resource Consumption vulnerability in the kernel of Juniper Networks JUNOS OS allows an unauthenticated network based attacker to cause 100% CPU load and the device to become unresponsive by sending a flood of traffic to the out-of-band management ethernet port. Continued receipted of a flood will create a sustained Denial of Service (DoS) condition. Once the flood subsides the system will recover by itself. An indication that the system is affected by this issue would be that kernel and netisr process are shown to be using a lot of CPU cycles like in the following example output: user@host> show system processes extensive ... PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 16 root -72 - 0K 304K WAIT 1 839:40 88.96% intr{swi1: netisr 0} 0 root 97 - 0K 160K RUN 1 732:43 87.99% kernel{bcm560xgmac0 que} This issue affects Juniper Networks JUNOS OS on EX2300 Series, EX3400 Series, and ACX710: All versions prior to 18.1R3-S13; 18.2 versions prior to 18.2R3-S8; 18.3 versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R2-S8, 18.4R3-S9; 19.1 versions prior to 19.1R3-S5; 19.2 versions prior to 19.2R1-S7, 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S2; 19.4 versions prior to 19.4R1-S4, 19.4R3-S3; 20.1 versions prior to 20.1R2-S2, 20.1R3; 20.2 versions prior to 20.2R3; 20.3 versions prior to 20.3R2-S1, 20.3R3; 20.4 versions prior to 20.4R2.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos 18.4 r3-s4 –
juniper junos 18.4 r3-s5 –
juniper junos 18.4 r3-s6 –
juniper junos 18.4 r3-s7 –
juniper junos 18.4 r3-s8 –
juniper junos 19.1 –
juniper junos 19.1 r1 –
juniper junos 19.1 r1-s1 –
juniper junos 19.1 r1-s2 –
juniper junos 19.1 r1-s3 –
juniper junos 19.1 r1-s4 –
juniper junos 19.1 r1-s5 –
juniper junos 19.1 r1-s6 –
juniper junos 19.1 r2 –
juniper junos 19.1 r2-s1 –
juniper junos 19.1 r2-s2 –
juniper junos 19.1 r2-s3 –
juniper junos 19.1 r3 –
juniper junos 19.1 r3-s1 –
juniper junos 19.1 r3-s2 –
juniper junos 19.1 r3-s3 –
juniper junos 19.1 r3-s4 –
juniper junos 19.2 –
juniper junos 19.2 r1 –
juniper junos 19.2 r1-s1 –
juniper junos 19.2 r1-s2 –
juniper junos 19.2 r1-s3 –
juniper junos 19.2 r1-s4 –
juniper junos 19.2 r1-s5 –
juniper junos 19.2 r1-s6 –
juniper junos 19.2 r2 –
juniper junos 19.2 r2-s1 –
juniper junos 19.2 r3 –
juniper junos 19.2 r3-s1 –
juniper junos 19.2 r3-s2 –
juniper junos 19.3 –
juniper junos 19.3 r1 –
juniper junos 19.3 r1-s1 –
juniper junos 19.3 r2 –
juniper junos 19.3 r2-s1 –
juniper junos 19.3 r2-s2 –
juniper junos 19.3 r2-s3 –
juniper junos 19.3 r2-s4 –
juniper junos 19.3 r2-s5 –
juniper junos 19.3 r3 –
juniper junos 19.3 r3-s1 –
juniper junos 19.4 r1 –
juniper junos 19.4 r1-s1 –
juniper junos 19.4 r1-s2 –
juniper junos 19.4 r1-s3 –
juniper junos 19.4 r2 –
juniper junos 19.4 r2-s1 –
juniper junos 19.4 r2-s2 –
juniper junos 19.4 r2-s3 –
juniper junos 19.4 r2-s4 –
juniper junos 19.4 r2-s5 –
juniper junos 19.4 r3 –
juniper junos 19.4 r3-s1 –
juniper junos 19.4 r3-s2 –
juniper junos 20.1 r1 –
juniper junos 20.1 r1-s1 –
juniper junos 20.1 r1-s2 –
juniper junos 20.1 r1-s3 –
juniper junos 20.1 r1-s4 –
juniper junos 20.1 r2 –
juniper junos 20.1 r2-s1 –
juniper junos 20.2 r1 –
juniper junos 20.2 r1-s1 –
juniper junos 20.2 r1-s2 –
juniper junos 20.2 r1-s3 –
juniper junos 20.2 r2 –
juniper junos 20.2 r2-s1 –
juniper junos 20.2 r2-s2 –
juniper junos 20.2 r2-s3 –
juniper junos 20.3 r1 –
juniper junos 20.3 r1-s1 –
juniper junos 20.3 r2 –
juniper junos 20.4 r1 –
juniper junos 20.4 r1-s1 –
juniper junos < 18.1 –
juniper junos 18.1 –
juniper junos 18.1 r –
juniper junos 18.1 r1 –
juniper junos 18.1 r2 –
juniper junos 18.1 r2-s1 –
juniper junos 18.1 r2-s2 –
juniper junos 18.1 r2-s4 –
juniper junos 18.1 r3 –
juniper junos 18.1 r3-s1 –
juniper junos 18.1 r3-s10 –
juniper junos 18.1 r3-s11 –
juniper junos 18.1 r3-s12 –
juniper junos 18.1 r3-s2 –
juniper junos 18.1 r3-s3 –
juniper junos 18.1 r3-s4 –
juniper junos 18.1 r3-s5 –
juniper junos 18.1 r3-s6 –
juniper junos 18.1 r3-s7 –
juniper junos 18.1 r3-s8 –
juniper junos 18.1 r3-s9 –

Mostrate 100 configurazioni su 165. L'elenco completo è su NVD.

Tutte le 793 vulnerabilità di Juniper Junos

Tipo di vulnerabilità

CWE-400 Consumo di risorse non controllato

Il prodotto non controlla correttamente l’assegnazione e l’uso di una risorsa limitata (memoria, CPU, connessioni), che può essere esaurita fino a bloccare il servizio.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento di risorse
Controllo degli accessi, Altro Aggirare i meccanismi di protezione, Altro

Come si previene

Architettura e progettazione Design throttling mechanisms into the system architecture. The best protection is to limit the amount of resources that an unauthorized user can cause to be expended. A strong authentication and access control model will help prevent such attacks from occurring in the first place. The login application should be protected against DoS attacks as much as possible. Limiting the database access, perhaps by caching result sets, can help minimize the resources expended. To further limit the potential for a DoS attack, consider tracking the rate of requests received from users and blocking requests that exceed a defined rate threshold.
Architettura e progettazione Mitigation of resource exhaustion attacks requires that the target system either: recognizes the attack and denies that user further access for a given amount of time, or uniformly throttles all requests in order to make it more difficult to consume resources more quickly than they can again be freed. The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question. The second solution is simply difficult to effectively institute -- and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.
Architettura e progettazione Ensure that protocols have specific limits of scale placed on them.
Sviluppo Ensure that all failures in resource allocation place the system into a safe posture.

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

Tutte le 3.952 CVE di tipo CWE-400, con andamento e prevenzione

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