CVE-2023-3494CWE-120

bhyve privileged guest escape via fwctl

published August 1, 2023

CVSS
—
EPSS
0%
Percentile
13.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00230 · 13.1th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2023-08-01T22:13Z
EPSS history
Timeline
  • 01 AUG 22:13Z
    bhyve privileged guest escape via fwctl
    cvelistv5