1. Archivio CVE
  2. 2023
  3. CVE-2023-22400

CVE-2023-22400

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 PFE management daemon (evo-pfemand) of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to cause an FPC crash leading to a Denial of Service (DoS). When a specific SNMP GET operation or a specific CLI command is executed this will cause a GUID resource leak, eventually leading to exhaustion and result in an FPC crash and reboot. GUID exhaustion will trigger a syslog message like one of the following for example: evo-pfemand[<pid>]: get_next_guid: Ran out of Guid Space ... evo-aftmand-zx[<pid>]: get_next_guid: Ran out of Guid Space ... This leak can be monitored by running the following command and taking note of the value in the rightmost column labeled Guids: user@host> show platform application-info allocations app evo-pfemand | match "IFDId|IFLId|Context" Node Application Context Name Live Allocs Fails Guids re0 evo-pfemand net::juniper::interfaces::IFDId 0 3448 0 3448 re0 evo-pfemand net::juniper::interfaces::IFLId 0 561 0 561 user@host> show platform application-info allocations app evo-pfemand | match "IFDId|IFLId|Context" Node Application Context Name Live Allocs Fails Guids re0 evo-pfemand net::juniper::interfaces::IFDId 0 3784 0 3784 re0 evo-pfemand net::juniper::interfaces::IFLId 0 647 0 647 This issue affects Juniper Networks Junos OS Evolved: All versions prior to 20.4R3-S3-EVO; 21.1-EVO version 21.1R1-EVO and later versions; 21.2-EVO versions prior to 21.2R3-S4-EVO; 21.3-EVO version 21.3R1-EVO and later versions; 21.4-EVO versions prior to 21.4R2-EVO.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos os evolved 20.4 –
juniper junos os evolved 20.4 r1 –
juniper junos os evolved 20.4 r1-s1 –
juniper junos os evolved 20.4 r1-s2 –
juniper junos os evolved 20.4 r2 –
juniper junos os evolved 20.4 r2-s1 –
juniper junos os evolved 20.4 r2-s2 –
juniper junos os evolved 20.4 r2-s3 –
juniper junos os evolved 20.4 r3 –
juniper junos os evolved 20.4 r3-s1 –
juniper junos os evolved 20.4 r3-s2 –
juniper junos os evolved 21.1 r1 –
juniper junos os evolved 21.1 r1-s1 –
juniper junos os evolved 21.1 r2 –
juniper junos os evolved 21.1 r3 –
juniper junos os evolved 21.1 r3-s1 –
juniper junos os evolved 21.2 –
juniper junos os evolved 21.2 r1 –
juniper junos os evolved 21.2 r1-s1 –
juniper junos os evolved 21.2 r1-s2 –
juniper junos os evolved 21.2 r2 –
juniper junos os evolved 21.2 r2-s1 –
juniper junos os evolved 21.2 r2-s2 –
juniper junos os evolved 21.2 r3 –
juniper junos os evolved 21.2 r3-s1 –
juniper junos os evolved 21.2 r3-s2 –
juniper junos os evolved 21.2 r3-s3 –
juniper junos os evolved 21.3 r1 –
juniper junos os evolved 21.3 r1-s1 –
juniper junos os evolved 21.3 r2 –
juniper junos os evolved 21.3 r2-s1 –
juniper junos os evolved 21.3 r2-s2 –
juniper junos os evolved 21.3 r3 –
juniper junos os evolved 21.4 –
juniper junos os evolved 21.4 r1 –
juniper junos os evolved 21.4 r1-s1 –
juniper junos os evolved 21.4 r1-s2 –
Tutte le 250 vulnerabilità di Juniper Junos Os Evolved

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.961 CVE di tipo CWE-400, con andamento e prevenzione

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