#VU99540 Use-after-free in FreeBSD - CVE-2024-45063


Vulnerability identifier: #VU99540

Vulnerability risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2024-45063

CWE-ID: CWE-416

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
FreeBSD
Operating systems & Components / Operating system

Vendor: FreeBSD Foundation

Description

The vulnerability allows a malicious guest to compromise the hypervisor.

The vulnerability exists due to a use-after-free error within the ctl_write_buffer() function. A malicious guest running in a guest VM that exposes virtio_scsi can trigger a use-after-free error and execute arbitrary code on the hypervisor.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

FreeBSD: 13.3 - 14.1


External links
https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability