CVE-2024-8178CWE-908CWE-909

Multiple issues in ctl(4) CAM Target Layer

Critical · published September 5, 2024

CVSS v3.1
9.3
EPSS
1%
Percentile
48.1
In the wild
Unconfirmed
What it is

The ctl_write_buffer and ctl_read_buffer functions allocated memory to be returned to userspace, without initializing it.

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
9.3 · CRITICAL
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00601 · 48.1th percentile
Weaknesses
CWE-908 · Use of Uninitialized Resource; CWE-909 · Missing Initialization of Resource
Published
2024-09-05T04:31Z
EPSS history
Timeline
  • 05 SEP 04:31Z
    Multiple issues in ctl(4) CAM Target Layer
    cvelistv5