CVE-2023-3494

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductFreebsd
PublishedAug 1, 2023
First seenAug 1, 2023
Weakness typeCWE-120CWE-120

How to fix

Affected products

ProductAffected versionsFixed in
freebsd freebsd13.1, 13.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.