1. Archivio CVE
  2. 2016
  3. CVE-2016-1267

CVE-2016-1267

6.7 Gravità media CVSS v3.0 · fonte NVD CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H 6.7 – Media

Descrizione

Race condition in the RPC functionality in Juniper Junos OS before 12.1X44-D55, 12.1X46 before 12.1X46-D40, 12.1X47 before 12.1X47-D25, 12.3 before 12.3R11, 12.3X48 before 12.3X48-D20, 13.2 before 13.2R8, 13.2X51 before 13.2X51-D39, 13.3 before 13.3R7, 14.1 before 14.1R6, 14.1X53 before 14.1X53-D30, 14.2 before 14.2R3-S4, 15.1 before 15.1F2, or 15.1R2, 15.1X49 before 15.1X49-D20, and 16.1 before 16.1R1 allows local users to read, delete, or modify arbitrary files via unspecified vectors.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos <= 12.1x44 d50 –
juniper junos 12.1x46 –
juniper junos 12.1x46 d10 –
juniper junos 12.1x46 d15 –
juniper junos 12.1x46 d20 –
juniper junos 12.1x46 d25 –
juniper junos 12.1x46 d30 –
juniper junos 12.1x46 d35 –
juniper junos 12.1x47 –
juniper junos 12.1x47 d10 –
juniper junos 12.1x47 d15 –
juniper junos 12.1x47 d20 –
juniper junos 12.3 –
juniper junos 12.3 r1 –
juniper junos 12.3 r10 –
juniper junos 12.3 r2 –
juniper junos 12.3 r3 –
juniper junos 12.3 r4 –
juniper junos 12.3 r5 –
juniper junos 12.3 r6 –
juniper junos 12.3 r7 –
juniper junos 12.3 r8 –
juniper junos 12.3 r9 –
juniper junos 12.3x48 d10 –
juniper junos 12.3x48 d15 –
juniper junos 13.2 –
juniper junos 13.2 r1 –
juniper junos 13.2 r2 –
juniper junos 13.2 r3 –
juniper junos 13.2 r4 –
juniper junos 13.2 r5 –
juniper junos 13.2 r6 –
juniper junos 13.2 r7 –
juniper junos 13.2 r7-s1 –
juniper junos 13.2 r7-s2 –
juniper junos 13.2x51 d15 –
juniper junos 13.2x51 d20 –
juniper junos 13.2x51 d21 –
juniper junos 13.2x51 d25 –
juniper junos 13.2x51 d26 –
juniper junos 13.2x51 d30 –
juniper junos 13.2x51 d35 –
juniper junos 13.3 –
juniper junos 13.3 r1 –
juniper junos 13.3 r2 –
juniper junos 13.3 r2-s2 –
juniper junos 13.3 r3 –
juniper junos 13.3 r4 –
juniper junos 13.3 r5 –
juniper junos 13.3 r6 –
juniper junos 14.1 –
juniper junos 14.1 r1 –
juniper junos 14.1 r2 –
juniper junos 14.1 r3 –
juniper junos 14.1 r4 –
juniper junos 14.1 r5 –
juniper junos 14.1x53 –
juniper junos 14.1x53 d10 –
juniper junos 14.1x53 d15 –
juniper junos 14.1x53 d16 –
juniper junos 14.1x53 d25 –
juniper junos 14.1x53 d26 –
juniper junos 14.2 r1 –
juniper junos 14.2 r2 –
juniper junos 14.2 r3 –
juniper junos 15.1 –
juniper junos 15.1x49 d10 –
juniper junos 16.1 –
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.920 CVE di tipo CWE-362, con andamento e prevenzione

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