SB2024103031 - Remote code execution in FreeBSD bhyve



SB2024103031 - Remote code execution in FreeBSD bhyve

Published: October 30, 2024

Security Bulletin ID SB2024103031
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 security vulnerability.


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

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.