Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu-img package, versions <15:4.2.0-59.module+el8.5.0+13495+8166cdf8.1
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-1957648
- published 26 Jul 2021
- disclosed 10 Feb 2021
Introduced: 10 Feb 2021
CVE-2021-20257 Open this link in a new tabHow to fix?
Upgrade Centos:8 qemu-img to version 15:4.2.0-59.module+el8.5.0+13495+8166cdf8.1 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.
An infinite loop flaw was found in the e1000 NIC emulator of the QEMU. This issue occurs while processing transmits (tx) descriptors in process_tx_desc if various descriptor fields are initialized with invalid values. This flaw allows a guest to consume CPU cycles on the host, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
References
- https://access.redhat.com/security/cve/CVE-2021-20257
- https://access.redhat.com/errata/RHSA-2021:5238
- https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg07428.html
- https://github.com/qemu/qemu/commit/3de46e6fc489c52c9431a8a832ad8170a7569bd8
- https://bugzilla.redhat.com/show_bug.cgi?id=1930087
- https://www.openwall.com/lists/oss-security/2021/02/25/2
- https://security.netapp.com/advisory/ntap-20220425-0003/
- https://security.gentoo.org/glsa/202208-27
- https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html