CVE-2024-32668 bhyve(8) privileged guest escape via USB controller

High 8.2 Published Updated

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.

Weakness: CWE-787, CWE-193

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.

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-94j5-29m8-f8jq.

Is CVE-2024-32668 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free