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

CVE-2024-8178

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

Descrizione

The ctl_write_buffer and ctl_read_buffer functions allocated memory to be returned to userspace, without initializing it. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities to achieve code execution on the host in the bhyve userspace process, which typically runs as root. Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the capabilities available to the bhyve process. A malicious iSCSI initiator could achieve remote code execution on the iSCSI target host.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
freebsd freebsd >= 13.0 < 13.3 –
freebsd freebsd 13.3 –
freebsd freebsd 13.3 p1 –
freebsd freebsd 13.3 p2 –
freebsd freebsd 13.3 p3 –
freebsd freebsd 13.3 p4 –
freebsd freebsd 13.3 p5 –
freebsd freebsd 13.4 beta3 –
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 p8 –
freebsd freebsd 14.0 p9 –
freebsd freebsd 14.0 rc3 –
freebsd freebsd 14.0 rc4-p1 –
freebsd freebsd 14.1 –
freebsd freebsd 14.1 p1 –
freebsd freebsd 14.1 p2 –
freebsd freebsd 14.1 p3 –
Tutte le 594 vulnerabilità di Freebsd

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 93 CVE di tipo CWE-909, con andamento e prevenzione

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