CVE-2023-3494
Severity CVSS v4.0:
Pending analysis
Type:
CWE-120
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Publication date:
01/08/2023
Last modified:
13/02/2025
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.
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:freebsd:freebsd:13.1:-:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:b1-p1:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:b2-p2:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:p1:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:p2:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:p3:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:p4:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:p5:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:p6:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:p7:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:p8:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.1:rc1-p1:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.2:-:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.2:p1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



