1. Archivio CVE
  2. 2024
  3. CVE-2024-6387

CVE-2024-6387

8.1 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 8.1 – Alta

Descrizione

A security regression (CVE-2006-5051) was discovered in OpenSSH's server (sshd). There is a race condition which can lead sshd to handle some signals in an unsafe manner. An unauthenticated, remote attacker may be able to trigger it by failing to authenticate within a set time period.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
almalinux almalinux 9.0 –
amazon amazon linux 2023.0 –
apple macos >= 12.0 < 12.7.6 –
apple macos >= 13.0 < 13.6.8 –
apple macos >= 14.0 < 14.6 –
arista eos >= 4.32.0 <= 4.32.1f –
canonical ubuntu linux 23.10 –
canonical ubuntu linux 24.04 –
canonical ubuntu linux 22.04 –
canonical ubuntu linux 22.10 –
canonical ubuntu linux 23.04 –
debian debian linux 12.0 –
freebsd freebsd 13.2 –
freebsd freebsd 13.2 p1 –
freebsd freebsd 13.2 p10 –
freebsd freebsd 13.2 p11 –
freebsd freebsd 13.2 p2 –
freebsd freebsd 13.2 p3 –
freebsd freebsd 13.2 p4 –
freebsd freebsd 13.2 p5 –
freebsd freebsd 13.2 p6 –
freebsd freebsd 13.2 p7 –
freebsd freebsd 13.2 p8 –
freebsd freebsd 13.2 p9 –
freebsd freebsd 13.3 –
freebsd freebsd 13.3 p1 –
freebsd freebsd 13.3 p2 –
freebsd freebsd 13.3 p3 –
freebsd freebsd 14.0 –
freebsd freebsd 14.0 beta5 –
freebsd freebsd 14.0 p1 –
freebsd freebsd 14.0 p2 –
freebsd freebsd 14.0 p3 –
freebsd freebsd 14.0 p4 –
freebsd freebsd 14.0 p5 –
freebsd freebsd 14.0 p6 –
freebsd freebsd 14.0 p7 –
freebsd freebsd 14.0 rc3 –
freebsd freebsd 14.0 rc4-p1 –
freebsd freebsd 14.1 –
freebsd freebsd 14.1 p1 –
netapp 500f firmware tutte –
netapp 8300 firmware tutte –
netapp 8700 firmware tutte –
netapp a150 firmware tutte –
netapp a1k firmware tutte –
netapp a220 firmware tutte –
netapp a250 firmware tutte –
netapp a400 firmware tutte –
netapp a70 firmware tutte –
netapp a700s firmware tutte –
netapp a800 firmware tutte –
netapp a90 firmware tutte –
netapp a900 firmware tutte –
netapp a9500 firmware tutte –
netapp active iq unified manager tutte vmware_vsphere
netapp bootstrap os tutte –
netapp c190 firmware tutte –
netapp c250 firmware tutte –
netapp c400 firmware tutte –
netapp c800 firmware tutte –
netapp e-series santricity os controller >= 11.0.0 <= 11.70.2 –
netapp fas2720 firmware tutte –
netapp fas2750 firmware tutte –
netapp fas2820 firmware tutte –
netapp ontap 9 –
netapp ontap select deploy administration utility tutte –
netapp ontap tools 9 vmware_vsphere
netapp ontap tools 10 vmware_vsphere
netbsd netbsd <= 10.0.0 –
openbsd openssh < 4.4 –
openbsd openssh >= 8.6 <= 9.8 –
openbsd openssh 4.4 –
openbsd openssh 8.5 p1 –
openbsd openssh 8.6 –
redhat enterprise linux 9.0 –
redhat enterprise linux eus 9.4 –
redhat enterprise linux for arm 64 9.0_aarch64 –
redhat enterprise linux for arm 64 eus 9.4_aarch64 –
redhat enterprise linux for ibm z systems 9.0_s390x –
redhat enterprise linux for ibm z systems eus 9.4_s390x –
redhat enterprise linux for power little endian 9.0_ppc64le –
redhat enterprise linux for power little endian eus 9.4_ppc64le –
redhat enterprise linux server aus 9.4 –
redhat openshift container platform 4.0 –
sonicwall sma 6200 firmware tutte –
sonicwall sma 6210 firmware tutte –
sonicwall sma 7200 firmware tutte –
sonicwall sma 7210 firmware tutte –
sonicwall sma 8200v firmware tutte –
sonicwall sra ex 7000 firmware tutte –
suse linux enterprise micro 6.0 –
Tutte le 151 vulnerabilità di Openbsd Openssh

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

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