7.5
CWE
416
Advisory Published
CVE Published
Updated

CVE-2021-3748: Use After Free

First published: Fri Aug 27 2021(Updated: )

A use-after-free vulnerability was found in the virtio-net device of QEMU. It could occur when the descriptor's address belongs to the non direct access region, due to num_buffers being set after the virtqueue elem has been unmapped. A malicious guest could use this flaw to crash QEMU, resulting in a denial of service condition, or potentially execute code on the host with the privileges of the QEMU process.

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

Affected SoftwareAffected VersionHow to fix
QEMU qemu>=0.10.0<6.2.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Canonical Ubuntu Linux=21.10
Fedoraproject Fedora=34
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux Advanced Virtualization Eus=8.4
ubuntu/qemu<1:6.0+dfsg-2
1:6.0+dfsg-2
ubuntu/qemu<1:6.2+dfsg-2ubuntu5
1:6.2+dfsg-2ubuntu5
ubuntu/qemu<1:2.11+dfsg-1ubuntu7.39
1:2.11+dfsg-1ubuntu7.39
ubuntu/qemu<1:4.2-3ubuntu6.21
1:4.2-3ubuntu6.21
ubuntu/qemu<1:6.2+dfsg-2ubuntu5
1:6.2+dfsg-2ubuntu5
redhat/qemu-kvm<6.2.0
6.2.0
debian/qemu<=1:3.1+dfsg-8+deb10u8
1:3.1+dfsg-8+deb10u11
1:5.2+dfsg-11+deb11u3
1:5.2+dfsg-11+deb11u2
1:7.2+dfsg-7+deb12u3
1:8.2.1+ds-1

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID for this use-after-free vulnerability?

    The vulnerability ID for this use-after-free vulnerability is CVE-2021-3748.

  • What is the severity level of CVE-2021-3748?

    The severity level of CVE-2021-3748 is high with a severity value of 7.5.

  • Which software is affected by CVE-2021-3748?

    The affected software includes QEMU, qemu-kvm, Debian Linux, Ubuntu Linux, Fedora, and Red Hat Enterprise Linux.

  • How can a malicious guest exploit CVE-2021-3748?

    A malicious guest can exploit CVE-2021-3748 to crash QEMU by causing a use-after-free vulnerability in the virtio-net device.

  • Where can I find more information about CVE-2021-3748?

    You can find more information about CVE-2021-3748 on the QEMU mailing list and GitLab repositories.

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