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

CVE-2024-43873

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

Descrizione

In the Linux kernel, the following vulnerability has been resolved: vhost/vsock: always initialize seqpacket_allow There are two issues around seqpacket_allow: 1. seqpacket_allow is not initialized when socket is created. Thus if features are never set, it will be read uninitialized. 2. if VIRTIO_VSOCK_F_SEQPACKET is set and then cleared, then seqpacket_allow will not be cleared appropriately (existing apps I know about don't usually do this but it's legal and there's no way to be sure no one relies on this). To fix: - initialize seqpacket_allow after allocation - set it unconditionally in set_features

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 5.14 < 5.15.165 –
linux linux kernel >= 5.16 < 6.1.103 –
linux linux kernel >= 6.2 < 6.6.44 –
linux linux kernel >= 6.7 < 6.10.3 –
Tutte le 23.632 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-909 Missing Initialization of Resource

The product does not initialize a critical resource.

Impatto sui sistemi

AmbitoImpatto
Altro Dipende dal contesto
Riservatezza Leggere la memoria, Leggere i dati dell’applicazione
Disponibilità Interruzione del servizio: arresto o riavvio

Come si previene

Sviluppo Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all specified steps.
Sviluppo Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
Sviluppo Avoid race conditions (CWE-362) during initialization routines.
Build e compilazione Run or compile your product with settings that generate warnings about uninitialized variables or data.

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

Tutte le 94 CVE di tipo CWE-909, con andamento e prevenzione

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