{"id":"CVE-2024-45063","state":"PUBLISHED","title":"Multiple issues in ctl(4) CAM Target Layer","description":"The function ctl_write_buffer incorrectly set a flag which resulted in a kernel Use-After-Free when a command finished processing.\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.","publishedAt":"2024-09-05T04:31:22.649Z","updatedAt":"2025-11-04T16:15:46.470Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"freebsd","products":["FreeBSD FreeBSD"],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"14.1-RELEASE","status":"affected","lessThan":"p4","versionType":"release"},{"version":"14.0-RELEASE","status":"affected","lessThan":"p10","versionType":"release"},{"version":"13.3-RELEASE","status":"affected","lessThan":"p6","versionType":"release"}],"modules":["ctl"]}],"references":["https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc","https://security.netapp.com/advisory/ntap-20240920-0010/"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/45xxx/CVE-2024-45063.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-45063","state":"PUBLISHED","datePublished":"2024-09-05T04:31:22.649Z","dateUpdated":"2025-11-04T16:15:46.470Z","assignerShortName":"freebsd","assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateReserved":"2024-08-27T16:30:56.002Z"},"containers":{"cna":{"title":"Multiple issues in ctl(4) CAM Target Layer","descriptions":[{"lang":"en","value":"The function ctl_write_buffer incorrectly set a flag which resulted in a kernel Use-After-Free when a command finished processing.\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."}],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"14.1-RELEASE","status":"affected","lessThan":"p4","versionType":"release"},{"version":"14.0-RELEASE","status":"affected","lessThan":"p10","versionType":"release"},{"version":"13.3-RELEASE","status":"affected","lessThan":"p6","versionType":"release"}],"modules":["ctl"]}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416 Use After Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"freebsd","orgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateUpdated":"2024-09-05T04:31:22.649Z"},"datePublic":"2024-09-04T23:37:17.000Z","credits":[{"lang":"en","type":"finder","value":"Synacktiv"},{"lang":"en","type":"sponsor","value":"The FreeBSD Foundation"},{"lang":"en","type":"sponsor","value":"The Alpha-Omega Project"}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"freebsd","product":"freebsd","defaultStatus":"unknown","versions":[{"version":"14.1","status":"affected","lessThan":"14.1_p4","versionType":"custom"},{"version":"14.0","status":"affected","lessThan":"14.0_p10","versionType":"custom"},{"version":"13.3","status":"affected","lessThan":"13.3_p6","versionType":"custom"}],"cpes":["cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-09-05T13:10:26.772292Z","id":"CVE-2024-45063","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-06T16:18:12.181Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20240920-0010/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T16:15:46.470Z"}}]}}}