CVE-2024-8178Freebsd
High 8.8
Follow: this CVE · Freebsd · Freebsd We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 42
- Auth required
- Yes
- Published
- Sep 5, 2024
- Updated
- Jun 17, 2026
- Category
- Operating system · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Freebsd.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| freebsd | freebsd | ≥ 13.0 < 13.3 |
| freebsd | freebsd | 13.3 |
| freebsd | freebsd | 13.3 |
| freebsd | freebsd | 13.3 |
| freebsd | freebsd | 13.3 |
| freebsd | freebsd | 13.3 |
| freebsd | freebsd | 13.3 |
| freebsd | freebsd | 13.4 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.0 |
| freebsd | freebsd | 14.1 |
| freebsd | freebsd | 14.1 |
| freebsd | freebsd | 14.1 |
| freebsd | freebsd | 14.1 |
Official sources
References
Links published by the sources. Open them with care.
- security.freebsd.org Vendor Advisory
- security.netapp.com