CVE-2024-32668 bhyve(8) privileged guest escape via USB controller
A malicious privileged guest can escape to the host via an out-of-bounds write in the USB controller, achieving code execution in the bhyve process.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-32668?
CVE-2024-32668 is a high-severity memory corruption vulnerability in Freebsd Freebsd, published on 5 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An insufficient boundary validation in the USB code could lead to an out-of-bounds write on the heap, with data controlled by the caller.
A malicious, privileged software running in a guest VM can exploit the vulnerability to achieve code execution on the host in the bhyve userspace process, which typically runs as root. Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the capabilities available to the bhyve process.
Which versions are affected by CVE-2024-32668?
It affects 1 product.
Products include Freebsd Freebsd.
How do I fix CVE-2024-32668?
No fix has been published for CVE-2024-32668 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-32668 being exploited?
There is no known exploitation of CVE-2024-32668 in the wild and no public exploit code.
Other vulnerabilities in Freebsd Freebsd
Sources
Also known as GHSA-94j5-29m8-f8jq.