Race Condition Affecting qemu-img package, versions <15:6.2.0-11.module+el8.6.0+15668+464a1f31.2
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-QEMUIMG-2439990
- published 2 Apr 2022
- disclosed 28 Mar 2022
How to fix?
Upgrade Centos:8 qemu-img to version 15:6.2.0-11.module+el8.6.0+15668+464a1f31.2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream qemu-img package and not the qemu-img package as distributed by Centos.
See How to fix? for Centos:8 relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2021-4207
- https://access.redhat.com/errata/RHSA-2022:5821
- https://starlabs.sg/advisories/21-4207/
- https://bugzilla.redhat.com/show_bug.cgi?id=2036966
- https://www.debian.org/security/2022/dsa-5133
- https://security.gentoo.org/glsa/202208-27
- https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html