CVE-2023-3494
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| FreeBSD | FreeBSD | 13.2-RELEASE < 13.2-RELEASE-p2 | affected |
| FreeBSD | FreeBSD | 13.1-RELEASE < 13.1-RELEASE-p9 | affected |
Weaknesses
- CWE-120: CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
ADP Enrichment
CVE Program Container
Additional References
- https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc
- https://security.netapp.com/advisory/ntap-20230831-0006/
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc
- https://security.netapp.com/advisory/ntap-20230831-0006/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.