Out-of-bounds read in FreeBSD - CVE-2024-41721

 

Out-of-bounds read in FreeBSD - CVE-2024-41721

Published: October 30, 2024


Vulnerability identifier: #VU99514
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-41721
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: FreeBSD Foundation
Affected software:
FreeBSD

Detailed vulnerability description

The vulnerability allows a malicious guest to compromise the affected system.

The vulnerability exists due to a boundary condition in bhyve(8) when emulating device on a USB controller via XHCI emulation. A malicious guest can trigger an out-of-bounds read and crash the hypervisor or execute arbitrary code.

Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the capabilities available to the bhyve process.


How to mitigate CVE-2024-41721

Install updates from vendor's website.

Sources