1. Archivio CVE
  2. 2022
  3. CVE-2022-22174

CVE-2022-22174

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 vulnerability in the processing of inbound IPv6 packets in Juniper Networks Junos OS on QFX5000 Series and EX4600 switches may cause the memory to not be freed, leading to a packet DMA memory leak, and eventual Denial of Service (DoS) condition. Once the condition occurs, further packet processing will be impacted, creating a sustained Denial of Service (DoS) condition. The following error logs may be observed using the "show heap" command and the device may eventually run out of memory if such packets are received continuously. Jan 12 12:00:00 device-name fpc0 (buf alloc) failed allocating packet buffer Jan 12 12:00:01 device-name fpc0 (buf alloc) failed allocating packet buffer user@device-name> request pfe execute target fpc0 timeout 30 command "show heap" ID Base Total(b) Free(b) Used(b) % Name -- ---------- ----------- ----------- ----------- --- ----------- 0 246fc1a8 536870488 353653752 183216736 34 Kernel 1 91800000 16777216 12069680 4707536 28 DMA 2 92800000 75497472 69997640 5499832 7 PKT DMA DESC 3 106fc000 335544320 221425960 114118360 34 Bcm_sdk 4 97000000 176160768 200 176160568 99 Packet DMA <<<<<<<<<<<<<< 5 903fffe0 20971504 20971504 0 0 Blob This issue affects Juniper Networks Junos OS on QFX5000 Series, EX4600: 18.3R3 versions prior to 18.3R3-S6; 18.4 versions prior to 18.4R2-S9, 18.4R3-S9; 19.1 versions prior to 19.1R2-S3, 19.1R3-S7; 19.2 versions prior to 19.2R1-S8, 19.2R3-S3; 19.3 versions prior to 19.3R2-S7, 19.3R3-S4; 19.4 versions prior to 19.4R2-S5, 19.4R3-S6; 20.1 versions prior to 20.1R3-S1; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3-S1; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R2-S1, 21.1R3; 21.2 versions prior to 21.2R1-S1, 21.2R2. This issue does not affect Juniper Networks Junos OS: Any versions prior to 17.4R3; 18.1 versions prior to 18.1R3-S6; 18.2 versions prior to 18.2R3; 18.3 versions prior to 18.3R3; 18.4 versions prior to 18.4R2; 19.1 versions prior to 19.1R2.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos 19.3 r2-s6 –
juniper junos 19.3 r3 –
juniper junos 19.3 r3-s1 –
juniper junos 19.3 r3-s2 –
juniper junos 19.3 r3-s3 –
juniper junos 19.4 –
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 r1-s4 –
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 r3 –
juniper junos 19.4 r3-s1 –
juniper junos 19.4 r3-s2 –
juniper junos 19.4 r3-s3 –
juniper junos 19.4 r3-s4 –
juniper junos 19.4 r3-s5 –
juniper junos 20.1 –
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.1 r2-s2 –
juniper junos 20.1 r3 –
juniper junos 20.2 –
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.2 r3 –
juniper junos 20.2 r3-s1 –
juniper junos 20.3 –
juniper junos 20.3 r1 –
juniper junos 20.3 r1-s1 –
juniper junos 20.3 r2 –
juniper junos 20.3 r2-s1 –
juniper junos 20.3 r3 –
juniper junos 20.4 –
juniper junos 20.4 r1 –
juniper junos 20.4 r1-s1 –
juniper junos 20.4 r2 –
juniper junos 20.4 r2-s1 –
juniper junos 20.4 r2-s2 –
juniper junos 21.1 –
juniper junos 21.1 r1 –
juniper junos 21.1 r1-s1 –
juniper junos 21.1 r2 –
juniper junos 21.2 –
juniper junos 21.2 r1 –
juniper junos 18.3 –
juniper junos 18.3 r1 –
juniper junos 18.3 r1-s1 –
juniper junos 18.3 r1-s2 –
juniper junos 18.3 r1-s3 –
juniper junos 18.3 r1-s4 –
juniper junos 18.3 r1-s5 –
juniper junos 18.3 r1-s6 –
juniper junos 18.3 r2 –
juniper junos 18.3 r2-s1 –
juniper junos 18.3 r2-s2 –
juniper junos 18.3 r2-s3 –
juniper junos 18.3 r2-s4 –
juniper junos 18.3 r3 –
juniper junos 18.3 r3-s1 –
juniper junos 18.3 r3-s2 –
juniper junos 18.3 r3-s3 –
juniper junos 18.3 r3-s4 –
juniper junos 18.3 r3-s5 –
juniper junos 18.4 –
juniper junos 18.4 r1 –
juniper junos 18.4 r1-s1 –
juniper junos 18.4 r1-s2 –
juniper junos 18.4 r1-s3 –
juniper junos 18.4 r1-s4 –
juniper junos 18.4 r1-s5 –
juniper junos 18.4 r1-s6 –
juniper junos 18.4 r1-s7 –
juniper junos 18.4 r2 –
juniper junos 18.4 r2-s1 –
juniper junos 18.4 r2-s2 –
juniper junos 18.4 r2-s3 –
juniper junos 18.4 r2-s4 –
juniper junos 18.4 r2-s5 –
juniper junos 18.4 r2-s6 –
juniper junos 18.4 r2-s7 –
juniper junos 18.4 r2-s8 –
juniper junos 18.4 r3 –
juniper junos 18.4 r3-s1 –

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

Tutte le 793 vulnerabilità di Juniper Junos

Tipo di vulnerabilità

CWE-401 Memoria non rilasciata dopo l’uso (memory leak)

Il prodotto non tiene traccia della memoria allocata e non la rilascia dopo l’uso, rendendola indisponibile per altri impieghi.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria
Altro Ridurre le prestazioni

Come si previene

Sviluppo · Librerie o framework Choose a language or tool that provides automatic memory management, or makes manual memory management less error-prone. For example, glibc in Linux provides protection against free of invalid pointers. When using Xcode to target OS X or iOS, enable automatic reference counting (ARC). To help correctly and consistently manage memory when programming in C++, consider using a smart pointer class such as std
Architettura e progettazione Use an abstraction library to abstract away risky APIs. Not a complete solution.
Architettura e progettazione · Build e compilazione Consider using the Boehm-Demers-Weiser garbage collector (bdwgc), which can help avoid leaks.

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

Tutte le 2.066 CVE di tipo CWE-401, con andamento e prevenzione

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