Use After Free Affecting qemu-img package, versions <15:6.2.0-11.module+el8.6.0+14707+5aa4b42d
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-2819796
- published 19 Nov 2021
- disclosed 17 Nov 2021
Introduced: 17 Nov 2021
CVE-2021-3975 Open this link in a new tabHow to fix?
Upgrade Centos:8 qemu-img to version 15:6.2.0-11.module+el8.6.0+14707+5aa4b42d 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 use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.
References
- https://access.redhat.com/security/cve/CVE-2021-3975
- https://access.redhat.com/errata/RHSA-2022:1759
- https://bugzilla.redhat.com/show_bug.cgi?id=2024326
- https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
- https://security.netapp.com/advisory/ntap-20221201-0002/
- https://ubuntu.com/security/CVE-2021-3975
- https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html