CVE-2024-42416

HIGH

bhyve - Code Execution

Title source: llm
STIX 2.1

Description

The ctl_report_supported_opcodes function did not sufficiently validate a field provided by userspace, allowing an arbitrary write to a limited amount of kernel help memory. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities 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. A malicious iSCSI initiator could achieve remote code execution on the iSCSI target host.

Scores

CVSS v3 8.8
EPSS 0.0100
EPSS Percentile 77.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-823 CWE-790 CWE-1284
Status published
Products (5)
freebsd/freebsd 13.3 (6 CPE variants)
freebsd/freebsd 13.4 beta3
freebsd/freebsd 14.0 (13 CPE variants)
freebsd/freebsd 14.1 (4 CPE variants)
freebsd/freebsd 13.0 - 13.3
Published Sep 05, 2024
Tracked Since Feb 18, 2026