CVE-2024-41928

bhyve(8) privileged guest escape via TPM device passthrough

State
Published
Severity
8.4 High
Published
Sep 5, 2024
Updated
Sep 20, 2024
Reserved
Aug 27, 2024

Read the record on cve.org

Description

Malicious 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. Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the capabilities available to the bhyve process.

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-125 Out-of-bounds Read
  • CWE-787 Out-of-bounds Write
  • CWE-1285 Improper Validation of Specified Index, Position, or Offset in Input

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 14.1-RELEASE to before p4Affected
  • 14.0-RELEASE to before p10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.