CWE
770
Advisory Published
CVE Published
Updated

CVE-2021-3527

First published: Fri Apr 30 2021(Updated: )

A flaw was found in the USB redirection support (usb-redir) of QEMU. More specifically, usb-host and usb-redirect try to batch bulk transfers by combining many small USB packets into a single, large transfer request, to reduce the overhead and improve performance. The combined size of the bulk sending is used in usbredir_handle_bulk_data() to dynamically allocate a variable length array (VLA) on the stack. Since the total size is not bounded, a malicious guest could be able to influence the array length and cause the QEMU process to perform an excessive allocation on the stack, resulting in a denial of service.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
QEMU qemu<=6.0.0
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux=8.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
debian/qemu
1:5.2+dfsg-11+deb11u3
1:5.2+dfsg-11+deb11u2
1:7.2+dfsg-7+deb12u7
1:9.2.0+ds-2

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 CVE-2021-3527?

    CVE-2021-3527 is a vulnerability in the USB redirector device (usb-redir) of QEMU.

  • How does CVE-2021-3527 affect QEMU?

    CVE-2021-3527 allows an attacker to cause a stack-based buffer overflow in QEMU.

  • What is the severity of CVE-2021-3527?

    CVE-2021-3527 has a severity rating of 5.5 (Medium).

  • Which software versions are affected by CVE-2021-3527?

    QEMU version 6.0.0 and Red Hat Enterprise Linux 8.0 are affected by CVE-2021-3527.

  • How can I fix CVE-2021-3527?

    To fix CVE-2021-3527, update QEMU to version 6.0.0 or apply the recommended patches for affected software.

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