CVE-2024-42416CWE-790CWE-823

Multiple issues in ctl(4) CAM Target Layer

High · published September 5, 2024

CVSS v3.1
8.4
EPSS
0%
Percentile
32.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.4 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00395 · 32.6th percentile
Weaknesses
CWE-790 · Improper Filtering of Special Elements; CWE-823 · Use of Out-of-range Pointer Offset
Published
2024-09-05T04:31Z
EPSS history
Timeline
  • 05 SEP 04:31Z
    Multiple issues in ctl(4) CAM Target Layer
    cvelistv5