← CVE Intelligence

CVE-2024-8178

Multiple issues in ctl(4) CAM Target Layer PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
FreeBSD / FreeBSDaffected 14.1-RELEASE before p4; affected 14.0-RELEASE before p10; affected 13.3-RELEASE before p6

CWE

CWE-908, CWE-909

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.