{"id":"CVE-2024-42416","published":"2024-09-05T04:31:15Z","modified":"2025-11-04T16:13:44Z","title":"Multiple issues in ctl(4) CAM Target Layer","vendor":"FreeBSD","product":"FreeBSD","tier":"tail","description":{"text":"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.\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":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00395,"percentile":0.34624,"provenance":"source"},"cwes":[{"id":"CWE-790","name":"Improper Filtering of Special Elements"},{"id":"CWE-823","name":"Use of Out-of-range Pointer Offset"}],"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":12.8,"factors":[{"name":"EPSS percentile","points":6.92},{"name":"CVSS severity","points":5.88}]},"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:11:48.895786Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39611","exploited":false,"provenance":"source"}}