CVEvulnerability
CVE-2024-8178
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-09-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.3 CRITICAL — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-908, CWE-909
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.
Affected configurations
• freebsd freebsd (>= 13.0 < 13.3)
• freebsd freebsd 13.3
• freebsd freebsd 13.4
• freebsd freebsd 14.0
• freebsd freebsd 14.1
Related
References
- https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240920-0010/ security.netapp.com