CVE-2024-41928

bhyve(8) privileged guest escape via TPM device passthrough

Published Sep 5, 2024 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
CPEs cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*
Vendors & Products Freebsd
Freebsd freebsd
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title bhyve(8) privileged guest escape via TPM device passthrough
Weaknesses CWE-125
CWE-1285
CWE-787
References
Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-1285

    Improper Validation of Specified Index, Position, or Offset in Input

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
freebsd
Published
Updated
Sep 20, 2024, 4:03 PM
Reserved
Aug 27, 2024, 4:30 PM
Status
Deferred
Published
Sep 5, 2024, 4:15 AM
Modified
Jun 17, 2026, 7:48 AM