CVE-2024-45063: Multiple issues in ctl(4) CAM Target Layer

Published Sep 5, 2024
·
Updated

The function ctlwritebuffer 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 virtioscsi 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 Software

25 affected components
FreeBSD FreeBSD>=13.0<13.3
FreeBSD FreeBSD=13.3
FreeBSD FreeBSD=13.3-p1
FreeBSD FreeBSD=13.3-p2
FreeBSD FreeBSD=13.3-p3
FreeBSD FreeBSD=13.3-p4
FreeBSD FreeBSD=13.3-p5
FreeBSD FreeBSD=13.4-beta3
FreeBSD FreeBSD=14.0
FreeBSD FreeBSD=14.0-beta5
FreeBSD FreeBSD=14.0-p1
FreeBSD FreeBSD=14.0-p2
FreeBSD FreeBSD=14.0-p3
FreeBSD FreeBSD=14.0-p4
FreeBSD FreeBSD=14.0-p5
FreeBSD FreeBSD=14.0-p6
FreeBSD FreeBSD=14.0-p7
FreeBSD FreeBSD=14.0-p8
FreeBSD FreeBSD=14.0-p9
FreeBSD FreeBSD=14.0-rc3
FreeBSD FreeBSD=14.0-rc4-p1
FreeBSD FreeBSD=14.1
FreeBSD FreeBSD=14.1-p1
FreeBSD FreeBSD=14.1-p2
FreeBSD FreeBSD=14.1-p3

Event History

Sep 5, 2024
CVE Published
via MITRE·04:31 AM
Data Sourced
via MITRE·04:31 AM
DescriptionWeakness
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-45063?

CVE-2024-45063 has a critical severity due to its potential for code execution in the host environment.

2

How do I fix CVE-2024-45063?

To address CVE-2024-45063, it's essential to install the latest patches provided by FreeBSD for the affected versions.

3

Which versions of FreeBSD are affected by CVE-2024-45063?

CVE-2024-45063 affects FreeBSD versions 13.0 up to 14.1, including specific patch releases.

4

What type of vulnerability is CVE-2024-45063?

CVE-2024-45063 is categorized as a Use-After-Free vulnerability impacting the kernel.

5

Can CVE-2024-45063 be exploited remotely?

Yes, CVE-2024-45063 can be exploited remotely by malicious software running in a guest VM that exposes virtio_scsi.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203