8.2
CWE
193 787
Advisory Published
Updated

CVE-2024-32668: bhyve(8) privileged guest escape via USB controller

First published: Thu Sep 05 2024(Updated: )

An insufficient boundary validation in the USB code could lead to an out-of-bounds write on the heap, with data controlled by the caller. A malicious, privileged software running in a guest VM can exploit the vulnerability 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.

Credit: secteam@freebsd.org

Affected SoftwareAffected VersionHow to fix
FreeBSD Kernel>=13.0<13.3
FreeBSD Kernel=13.3
FreeBSD Kernel=13.3-p1
FreeBSD Kernel=13.3-p2
FreeBSD Kernel=13.3-p3
FreeBSD Kernel=13.3-p4
FreeBSD Kernel=13.3-p5
FreeBSD Kernel=13.4-beta3
FreeBSD Kernel=14.0
FreeBSD Kernel=14.0-beta5
FreeBSD Kernel=14.0-p1
FreeBSD Kernel=14.0-p2
FreeBSD Kernel=14.0-p3
FreeBSD Kernel=14.0-p4
FreeBSD Kernel=14.0-p5
FreeBSD Kernel=14.0-p6
FreeBSD Kernel=14.0-p7
FreeBSD Kernel=14.0-p8
FreeBSD Kernel=14.0-p9
FreeBSD Kernel=14.0-rc3
FreeBSD Kernel=14.0-rc4-p1
FreeBSD Kernel=14.1
FreeBSD Kernel=14.1-p1
FreeBSD Kernel=14.1-p2
FreeBSD Kernel=14.1-p3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-32668?

    The severity of CVE-2024-32668 is critical as it allows for code execution on the host via an out-of-bounds write.

  • How do I fix CVE-2024-32668?

    To fix CVE-2024-32668, it is recommended to apply the latest security patches provided by FreeBSD.

  • Which software versions are affected by CVE-2024-32668?

    CVE-2024-32668 affects FreeBSD versions from 13.0 to 14.1, including certain point releases and betas.

  • Who can exploit CVE-2024-32668?

    A privileged software running in a guest VM can exploit CVE-2024-32668 to execute code on the host.

  • What is the attack vector for CVE-2024-32668?

    The attack vector for CVE-2024-32668 involves insufficient boundary validation in the USB code.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203