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

CVE-2022-22172

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

Descrizione

A Missing Release of Memory after Effective Lifetime vulnerability in the Layer-2 control protocols daemon (l2cpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated adjacent attacker to cause a memory leak. Continued exploitation can lead to memory exhaustion and thereby a Denial of Service (DoS). This issue occurs when specific LLDP packets are received. The impact of the l2cpd cores is that if any of the stp protocols (rstp, mstp or vstp) is used then stp re-converges and traffic loss will occur during that time. Also if any services depend on LLDP state (like PoE or VoIP device recognition) then these will also be affected. The memory utilization of the L2CPd process can be monitored with the following command: user@host> show system processes extensive | match l2cpd 1234 root 52 0 521M 43412K RUN 1 4:02 34.47% l2cpd This issue affects: Juniper Networks Junos OS 18.4 version 18.4R2-S4 and later versions prior to 18.4R2-S10. 19.2 versions prior to 19.2R1-S8, 19.2R3-S4; 19.3 versions prior to 19.3R3-S5; 19.4 versions prior to 19.4R3-S7; 20.1 versions prior to 20.1R3-S3; 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-S2, 21.1R3; 21.2 versions prior to 21.2R2; Juniper Networks Junos OS Evolved All versions prior to 20.4R3-S2-EVO; 21.1 version 21.1R1-EVO and later versions; 21.2 versions prior to 21.2R2-EVO. This issue does not affect: Juniper Networks Junos OS 19.1 version 19.1R1 and later versions.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos 21.1 r2-s1 –
juniper junos 21.2 –
juniper junos 21.2 r1 –
juniper junos 21.2 r1-s1 –
juniper junos 21.2 r1-s2 –
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 r2-s9 –
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 r1-s7 –
juniper junos 19.2 r3 –
juniper junos 19.2 r3-s1 –
juniper junos 19.2 r3-s2 –
juniper junos 19.2 r3-s3 –
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 r2-s6 –
juniper junos 19.3 r3-s4 –
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 r2-s5 –
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 19.4 r3-s6 –
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.1 r3-s1 –
juniper junos 20.1 r3-s2 –
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 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 –

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

Tutte le 793 vulnerabilità di Juniper Junos
Tutte le 250 vulnerabilità di Juniper Junos Os Evolved

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

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