Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu-img package, versions <15:4.2.0-48.module+el8.4.0+11909+3300d70f.3
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-2116217
- published 26 Jul 2021
- disclosed 24 Feb 2021
Introduced: 24 Feb 2021
CVE-2021-3416 Open this link in a new tabHow to fix?
Upgrade Centos:8 qemu-img to version 15:4.2.0-48.module+el8.4.0+11909+3300d70f.3 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 potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0. The issue occurs in loopback mode of a NIC wherein reentrant DMA checks get bypassed. A guest user/process may use this flaw to consume CPU cycles or crash the QEMU process on the host resulting in DoS scenario.
References
- https://security.netapp.com/advisory/ntap-20210507-0002/
- https://access.redhat.com/security/cve/CVE-2021-3416
- https://bugzilla.redhat.com/show_bug.cgi?id=1932827
- https://www.openwall.com/lists/oss-security/2021/02/26/1
- https://lists.debian.org/debian-lts-announce/2021/04/msg00009.html
- https://access.redhat.com/errata/RHSA-2021:3061
- https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html
- https://security.gentoo.org/glsa/202208-27