Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Freebsd | Freebsd | >= 13.0, < 13.3 |
Related Weaknesses (CWE)
References
- https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.ascVendor Advisory
- https://security.netapp.com/advisory/ntap-20240920-0010/
FAQ
What is CVE-2024-8178?
CVE-2024-8178 is a vulnerability with a CVSS score of 8.8 (HIGH). 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...
How severe is CVE-2024-8178?
CVE-2024-8178 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-8178?
Check the references section above for vendor advisories and patch information. Affected products include: Freebsd Freebsd.