We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-8178

Multiple issues in ctl(4) CAM Target Layer



Assignerfreebsd
Reserved2024-08-26
Published2024-09-05
Updated2024-09-06

Description

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.

Problem types

CWE-908 Use of Uninitialized Resource

CWE-909 Missing Initialization of Resource

Product status

Default status
0x40029836d0

14.1-RELEASE before p4
affected

14.0-RELEASE before p10
affected

13.3-RELEASE before p6
affected

Credits

Synacktiv 0x4002983770

The FreeBSD Foundation 0x4002983780

The Alpha-Omega Project 0x4002983790

References

https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc vendor-advisory

cve.org CVE-2024-8178

nvd.nist.gov CVE-2024-8178

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-8178
Subscribe to our newsletter to learn more about our work.