Vulnerability Details CVE-2024-42416
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 32.1%
CVSS Severity
CVSS v3 Score 8.8
Products affected by CVE-2024-42416
-
cpe:2.3:o:freebsd:freebsd:13.0
-
cpe:2.3:o:freebsd:freebsd:13.1
-
cpe:2.3:o:freebsd:freebsd:13.2
-
cpe:2.3:o:freebsd:freebsd:13.3
-
cpe:2.3:o:freebsd:freebsd:13.4
-
cpe:2.3:o:freebsd:freebsd:14.0
-
cpe:2.3:o:freebsd:freebsd:14.1