cve/2024/CVE-2024-8178.md
2025-09-29 21:09:30 +02:00

24 lines
1.6 KiB
Markdown

### [CVE-2024-8178](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-8178)
![](https://img.shields.io/static/v1?label=Product&message=FreeBSD&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=13.3%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=13.3-RELEASE%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=14.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=14.0-RELEASE%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=14.1%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=14.1-RELEASE%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-908%20Use%20of%20Uninitialized%20Resource&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-909%20Missing%20Initialization%20of%20Resource&color=brightgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds