Vulnerabilities

CVE-2024-8178

High 8.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-09-05
Last modified
2026-06-17
Assigned by
secteam@freebsd.org
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.6 % higher than 45 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Freebsd Freebsd 13.3 Affected
Freebsd Freebsd 13.4 Affected
Freebsd Freebsd 14.0 Affected
Freebsd Freebsd 14.1 Affected
Freebsd Freebsd ≥ 13.0, < 13.3 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities