8.2
CWE
119 120 362
Advisory Published
CVE Published
Updated

CVE-2021-4207: Buffer Overflow

First published: Tue Jan 04 2022(Updated: )

A flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values `cursor->header.width` and `cursor->header.height` can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. A malicious privileged guest user could use this flaw to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.

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

Affected SoftwareAffected VersionHow to fix
QEMU qemu<7.0.0
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux=8.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
ubuntu/qemu<1:6.2+dfsg-2ubuntu8
1:6.2+dfsg-2ubuntu8
ubuntu/qemu<1:6.2+dfsg-2ubuntu8
1:6.2+dfsg-2ubuntu8
ubuntu/qemu<1:2.11+dfsg-1ubuntu7.40
1:2.11+dfsg-1ubuntu7.40
ubuntu/qemu<1:4.2-3ubuntu6.23
1:4.2-3ubuntu6.23
ubuntu/qemu<1:6.0+dfsg-2
1:6.0+dfsg-2
ubuntu/qemu<1:6.2+dfsg-2ubuntu6.2
1:6.2+dfsg-2ubuntu6.2
ubuntu/qemu<1:6.2+dfsg-2ubuntu8
1:6.2+dfsg-2ubuntu8
redhat/qemu-kvm<7.0.0
7.0.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 flaw in the QXL display device emulation in QEMU?

    The vulnerability ID is CVE-2021-4207.

  • What is the severity rating of CVE-2021-4207?

    CVE-2021-4207 has a severity rating of 8.2 (high).

  • What software is affected by CVE-2021-4207?

    QEMU qemu, Redhat Enterprise Linux (8.0), Debian Debian Linux (10.0, 11.0), and Ubuntu qemu (kinetic, lunar, bionic, focal, impish, jammy, mantic) are affected by CVE-2021-4207.

  • What is the description of CVE-2021-4207?

    CVE-2021-4207 is a flaw in the QXL display device emulation in QEMU that can lead to a heap-based buffer overflow.

  • How can I fix CVE-2021-4207?

    To fix CVE-2021-4207, update to version 7.0.0 of qemu-kvm (for Redhat) or update to the latest version of QEMU qemu, Redhat Enterprise Linux, Debian Debian Linux, or Ubuntu qemu.

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