The fwctl driver implements a state machine which is executed when a bhyve guest accesses certain x86 I/O ports. The interface lets the guest copy a string into a buffer resident in the bhyve process' memory. A bug in the state machine implementation can result in a buffer overflowing when copying this string. Malicious, privileged software running in a guest VM can exploit the buffer overflow to achieve code execution on the host in the bhyve userspace process, which typically runs as root, mitigated by the capabilities assigned through the Capsicum sandbox available to the bhyve process.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published: 2023-08-01T22:13:21.634Z

Updated: 2024-08-02T06:55:03.345Z

Reserved: 2023-06-30T22:57:48.603Z

Link: CVE-2023-3494

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-08-01T23:15:31.053

Modified: 2023-08-31T19:15:11.010

Link: CVE-2023-3494

cve-icon Redhat

No data.