CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Freebsd

CVE-2024-8178
Freebsd vulnerability

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 products

Freebsd. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Freebsd runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Freebsd products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.