CVEvulnerability

CVE-2024-42416

8.8 HIGH Published 2024-09-05 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-09-05
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
8.4 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1284, CWE-790, CWE-823

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.

Affected configurations

• freebsd freebsd (>= 13.0 < 13.3) • freebsd freebsd 13.3 • freebsd freebsd 13.4 • freebsd freebsd 14.0 • freebsd freebsd 14.1

Related

Weakness · CWE (3)

  • CWE-1284 Improper Validation of Specified Quantity in Input weakness
  • CWE-790 Improper Filtering of Special Elements weakness
  • CWE-823 Use of Out-of-range Pointer Offset weakness

References