Use After Free in Freebsd

CVE-2024-45063

The function ctl_write_buffer incorrectly set a flag which resulted in a kernel Use-After-Free when a command finished processing. 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.

Vulnerability class: Use-After-Free

EPSS: 0.005 (41.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Affected products

  • Freebsd — versions 13.3, 13.4, 14.0

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-45063?
CVE-2024-45063 is a high-severity vulnerability in Freebsd, classified under Use After Free. CVSS score: 8.8/10. Published 2024-09-05.
How severe is CVE-2024-45063?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2024-45063 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.