SB2024103031 - Remote code execution in FreeBSD bhyve



SB2024103031 - Remote code execution in FreeBSD bhyve

Published: October 30, 2024

Security Bulletin ID SB2024103031
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Out-of-bounds read (CVE-ID: CVE-2024-41721)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: 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


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.


Remediation

Install update from vendor's website.