← Back to CVEs
CVE-2023-3494
HIGH8.8
Description
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.
CVE Details
CVSS v3.1 Score8.8
SeverityHIGH
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published8/1/2023
Last Modified2/13/2025
Sourcenvd
Honeypot Sightings0
Affected Products
freebsd:freebsd
Weaknesses (CWE)
CWE-120CWE-120
References
https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc(secteam@freebsd.org)
https://security.netapp.com/advisory/ntap-20230831-0006/(secteam@freebsd.org)
https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc(af854a3a-2127-422b-91ae-364da2661108)
https://security.netapp.com/advisory/ntap-20230831-0006/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.