SB2024103139 - Multiple vulnerabilities in FreeBSD ctl(4) CAM Target Layer
Published: October 31, 2024
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 secuirty vulnerabilities.
1) Improper Initialization (CVE-ID: CVE-2024-8178)
The vulnerability allows a malicious guest to compromise the affected system.
The vulnerability exists due to improper initialization within the ctl_write_buffer() and ctl_read_buffer() functions. A malicious guest can run a specially crafted application to execute arbitrary code on the hypervisor.
2) Out-of-bounds write (CVE-ID: CVE-2024-42416)
The vulnerability allows a malicious guest to execute arbitrary code on the system.
The vulnerability exists due to a boundary error within the ctl_report_supported_opcodes() function. A malicious guest 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 (e.g. as root).
3) Memory leak (CVE-ID: CVE-2024-43110)
The vulnerability allows a malicious guest to gain access to sensitive information.
The vulnerability exists due memory leak within the ctl_request_sense() function. A malicious guest can obtain up to 3 bytes of kernel heap and use this information to achieve code execution on the hypervisor.
4) Use-after-free (CVE-ID: CVE-2024-45063)
The vulnerability allows a malicious guest to compromise the hypervisor.
The vulnerability exists due to a use-after-free error within the ctl_write_buffer() function. A malicious guest running in a guest VM that exposes virtio_scsi can trigger a use-after-free error and execute arbitrary code on the hypervisor.
Remediation
Install update from vendor's website.