{"id":"CVE-2024-8178","published":"2024-09-05T04:31:12Z","modified":"2025-11-04T16:15:56Z","title":"Multiple issues in ctl(4) CAM Target Layer","vendor":"FreeBSD","product":"FreeBSD","tier":"tail","description":{"text":"The ctl_write_buffer and ctl_read_buffer functions allocated memory to be returned to userspace, without initializing it.\n\nMalicious 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00601,"percentile":0.49714,"provenance":"source"},"cwes":[{"id":"CWE-908","name":"Use of Uninitialized Resource"},{"id":"CWE-909","name":"Missing Initialization of Resource"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240920-0010/","tags":[]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":9.94},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"freebsd","affectedVersions":[{"vendor":"FreeBSD","product":"FreeBSD","versions":[">= 14.1-RELEASE, < p4",">= 14.0-RELEASE, < p10",">= 13.3-RELEASE, < p6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-05T13:12:44.526839Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-49000","exploited":false,"provenance":"source"}}