CVE-2024-32668
JSON

8.2high

bhyve(8) privileged guest escape via USB controller

Severity
8.2high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
freebsd

Description

An insufficient boundary validation in the USB code could lead to an out-of-bounds write on the heap, with data controlled by the caller. A malicious, privileged software running in a guest VM can exploit the vulnerability 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.

Affected

Product or packageVersionsReported by
FreeBSD FreeBSDfrom 14.1-RELEASE before p4, from 14.0-RELEASE before p10, from 13.3-RELEASE before p6, from 14.1 before 14.1_p4, from 14.0 before 14.0_p10, from 13.3 before 13.3_p6, from 13.0 before 13.3, 13.3 and 3 moreCVE List, NVD

All scores

CISA-ADP8.2high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD8.2high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-193CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

An insufficient boundary validation in the USB code could lead to an out-of-bounds write on the heap, with data controlled by the caller. A malicious, privileged software running in a guest VM can exploit the vulnerability 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.

NVD (es)

Una validación de los límites insuficiente en el código USB podría provocar una escritura fuera de los límites en el montón, con datos controlados por el autor de la llamada. Un software malicioso y privilegiado que se ejecute en una máquina virtual invitada puede aprovechar la vulnerabilidad para lograr la ejecución de código en el host en el proceso de espacio de usuario bhyve, que normalmente se ejecuta como raíz. Tenga en cuenta que bhyve se ejecuta en un entorno aislado de Capsicum, por lo que el código malicioso está limitado por las capacidades disponibles para el proceso bhyve.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-32668 changed 2024-09-20CVE Terms of Use
NVDCVE-2024-32668 changed 2026-06-17Public domain