{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-8178","assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","state":"PUBLISHED","assignerShortName":"freebsd","dateReserved":"2024-08-26T14:21:13.958Z","datePublished":"2024-09-05T04:31:12.231Z","dateUpdated":"2025-11-04T16:15:56.298Z"},"containers":{"cna":{"datePublic":"2024-09-04T23:37:17.000Z","title":"Multiple issues in ctl(4) CAM Target Layer","references":[{"tags":["vendor-advisory"],"url":"https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc"}],"affected":[{"defaultStatus":"unknown","modules":["ctl"],"product":"FreeBSD","vendor":"FreeBSD","versions":[{"lessThan":"p4","status":"affected","version":"14.1-RELEASE","versionType":"release"},{"lessThan":"p10","status":"affected","version":"14.0-RELEASE","versionType":"release"},{"lessThan":"p6","status":"affected","version":"13.3-RELEASE","versionType":"release"}]}],"credits":[{"lang":"en","type":"finder","value":"Synacktiv"},{"lang":"en","type":"sponsor","value":"The FreeBSD Foundation"},{"lang":"en","type":"sponsor","value":"The Alpha-Omega Project"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-908","description":"CWE-908 Use of Uninitialized Resource","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-909","description":"CWE-909 Missing Initialization of Resource","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"63664ac6-956c-4cba-a5d0-f46076e16109","shortName":"freebsd","dateUpdated":"2024-09-05T04:31:12.231Z"}},"adp":[{"affected":[{"vendor":"freebsd","product":"freebsd","cpes":["cpe:2.3:o:freebsd: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"}]}],"metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":9.3,"attackVector":"LOCAL","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/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:12:44.526839Z","id":"CVE-2024-8178","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-06T16:18:28.901Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20240920-0010/"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-04T16:15:56.298Z"}}]}}