Vulnerability · Published Sep 5, 2024 · Assigned by freebsd

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

High 8.2

In plain English

A high-severity out-of-bounds write in FreeBSD from FreeBSD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities).

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)0.2%top 88.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected products (as reported)

VendorProductVersions
FreeBSD FreeBSD 14.1-RELEASE – before p414.0-RELEASE – before p1013.3-RELEASE – before p6

Weakness: CWE-193, CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

References