1. Archivio CVE
  2. 2020
  3. CVE-2020-1641

CVE-2020-1641

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 Race Condition vulnerability in Juniper Networks Junos OS LLDP implementation allows an attacker to cause LLDP to crash leading to a Denial of Service (DoS). This issue occurs when crafted LLDP packets are received by the device from an adjacent device. Multiple LACP flaps will occur after LLDP crashes. An indicator of compromise is to evaluate log file details for lldp with RLIMIT. Intervention should occur before 85% threshold of used KB versus maximum available KB memory is reached. show log messages | match RLIMIT | match lldp | last 20 Matching statement is " /kernel: %KERNEL-[number]: Process ([pid #],lldpd) has exceeded 85% of RLIMIT_DATA: " with [] as variable data to evaluate for. This issue affects: Juniper Networks Junos OS: 12.3 versions prior to 12.3R12-S15; 12.3X48 versions prior to 12.3X48-D95; 15.1 versions prior to 15.1R7-S6; 15.1X49 versions prior to 15.1X49-D200; 15.1X53 versions prior to 15.1X53-D593; 16.1 versions prior to 16.1R7-S7; 17.1 versions prior to 17.1R2-S11, 17.1R3-S2; 17.2 versions prior to 17.2R1-S9, 17.2R3-S3; 17.3 versions prior to 17.3R2-S5, 17.3R3-S6; 17.4 versions prior to 17.4R2-S4, 17.4R3; 18.1 versions prior to 18.1R3-S5; 18.2 versions prior to 18.2R2-S7, 18.2R3; 18.2X75 versions prior to 18.2X75-D12, 18.2X75-D33, 18.2X75-D50, 18.2X75-D420; 18.3 versions prior to 18.3R1-S7, 18.3R2-S3, 18.3R3; 18.4 versions prior to 18.4R1-S5, 18.4R2; 19.1 versions prior to 19.1R1-S4, 19.1R2.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos 15.1x49 d15 –
juniper junos 15.1x49 d150 –
juniper junos 15.1x49 d160 –
juniper junos 15.1x49 d170 –
juniper junos 15.1x49 d180 –
juniper junos 15.1x49 d190 –
juniper junos 15.1x49 d20 –
juniper junos 15.1x49 d25 –
juniper junos 15.1x49 d30 –
juniper junos 15.1x49 d35 –
juniper junos 15.1x49 d40 –
juniper junos 15.1x49 d45 –
juniper junos 15.1x49 d50 –
juniper junos 15.1x49 d55 –
juniper junos 15.1x49 d60 –
juniper junos 15.1x49 d65 –
juniper junos 15.1x49 d70 –
juniper junos 15.1x49 d75 –
juniper junos 15.1x49 d80 –
juniper junos 15.1x49 d90 –
juniper junos 15.1x53 –
juniper junos 15.1x53 d10 –
juniper junos 15.1x53 d20 –
juniper junos 15.1x53 d21 –
juniper junos 15.1x53 d210 –
juniper junos 15.1x53 d230 –
juniper junos 15.1x53 d231 –
juniper junos 15.1x53 d232 –
juniper junos 15.1x53 d233 –
juniper junos 15.1x53 d234 –
juniper junos 15.1x53 d235 –
juniper junos 15.1x53 d236 –
juniper junos 15.1x53 d237 –
juniper junos 15.1x53 d25 –
juniper junos 15.1x53 d30 –
juniper junos 15.1x53 d31 –
juniper junos 15.1x53 d32 –
juniper junos 15.1x53 d33 –
juniper junos 15.1x53 d34 –
juniper junos 15.1x53 d40 –
juniper junos 15.1x53 d45 –
juniper junos 15.1x53 d47 –
juniper junos 15.1x53 d470 –
juniper junos 15.1x53 d48 –
juniper junos 15.1x53 d495 –
juniper junos 15.1x53 d50 –
juniper junos 15.1x53 d51 –
juniper junos 15.1x53 d52 –
juniper junos 15.1x53 d55 –
juniper junos 15.1x53 d56 –
juniper junos 15.1x53 d57 –
juniper junos 15.1x53 d58 –
juniper junos 15.1x53 d59 –
juniper junos 15.1x53 d590 –
juniper junos 15.1x53 d591 –
juniper junos 15.1x53 d592 –
juniper junos 15.1x53 d60 –
juniper junos 15.1x53 d61 –
juniper junos 15.1x53 d62 –
juniper junos 15.1x53 d63 –
juniper junos 15.1x53 d64 –
juniper junos 15.1x53 d65 –
juniper junos 15.1x53 d66 –
juniper junos 15.1x53 d67 –
juniper junos 15.1x53 d68 –
juniper junos 15.1x53 d69 –
juniper junos 15.1x53 d70 –
juniper junos 16.1 –
juniper junos 16.1 r1 –
juniper junos 16.1 r2 –
juniper junos 16.1 r3 –
juniper junos 16.1 r3-s10 –
juniper junos 16.1 r3-s11 –
juniper junos 16.1 r4 –
juniper junos 16.1 r4-s12 –
juniper junos 16.1 r4-s2 –
juniper junos 16.1 r4-s3 –
juniper junos 16.1 r4-s4 –
juniper junos 16.1 r4-s6 –
juniper junos 16.1 r5 –
juniper junos 16.1 r5-s4 –
juniper junos 16.1 r6-s1 –
juniper junos 16.1 r6-s6 –
juniper junos 16.1 r7 –
juniper junos 16.1 r7-s2 –
juniper junos 16.1 r7-s3 –
juniper junos 16.1 r7-s4 –
juniper junos 16.1 r7-s5 –
juniper junos 16.1 r7-s6 –
juniper junos 17.1 –
juniper junos 17.1 r1 –
juniper junos 17.1 r2 –
juniper junos 17.1 r2-s1 –
juniper junos 17.1 r2-s10 –
juniper junos 17.1 r2-s2 –
juniper junos 17.1 r2-s3 –
juniper junos 17.1 r2-s4 –
juniper junos 17.1 r2-s5 –
juniper junos 17.1 r2-s6 –
juniper junos 17.1 r2-s7 –

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

Tutte le 793 vulnerabilità di Juniper Junos

Tipo di vulnerabilità

CWE-362 Race condition: esecuzione concorrente con sincronizzazione impropria

Il prodotto contiene una sequenza di codice che ha bisogno di un accesso esclusivo e temporaneo a una risorsa condivisa, ma esiste un intervallo in cui un’altra sequenza eseguita in parallelo può modificarla.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento di risorse
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità
Riservatezza, Integrità Leggere file o cartelle, Leggere i dati dell’applicazione
Controllo degli accessi Eseguire codice o comandi non autorizzati, Ottenere privilegi o assumere un’altra identità, Aggirare i meccanismi di protezione

Come si previene

Architettura e progettazione In languages that support it, use synchronization primitives. Only wrap these around critical code to minimize the impact on performance.
Architettura e progettazione Use thread-safe capabilities such as the data access abstraction in Spring.
Architettura e progettazione Minimize the usage of shared resources in order to remove as much complexity as possible from the control flow and to reduce the likelihood of unexpected conditions occurring. Additionally, this will minimize the amount of synchronization necessary and may even help to reduce the likelihood of a denial of service where an attacker may be able to repeatedly trigger a critical section (CWE-400).
Sviluppo When using multithreading and operating on shared variables, only use thread-safe functions.
Sviluppo Use atomic operations on shared variables. Be wary of innocent-looking constructs such as x++. This may appear atomic at the code layer, but it is actually non-atomic at the instruction layer, since it involves a read, followed by a computation, followed by a write.
Sviluppo Use a mutex if available, but be sure to avoid related weaknesses such as CWE-412.
Sviluppo Avoid double-checked locking (CWE-609) and other implementation errors that arise when trying to avoid the overhead of synchronization.
Sviluppo Disable interrupts or signals over critical parts of the code, but also make sure that the code does not go into a large or infinite loop.

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

Tutte le 2.940 CVE di tipo CWE-362, con andamento e prevenzione

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