CVE Catalog

CVE-2023-3494

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

12th percentile - higher than 12% of all known CVEs

Summary

The fwctl driver implements a state machine executed when a bhyve guest accesses certain x86 I/O ports. A bug in the state machine can lead to a buffer overflow when copying a string, which can be exploited by malicious software running in a guest VM.

Risk Assessment

Malicious software with privileges running in a guest VM can exploit the buffer overflow to achieve code execution on the host, posing a serious security threat to the system.

Recommendation

It is recommended to update the system and monitor and restrict access to guest VMs to minimize the risk of exploitation of this vulnerability.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS