Unchecked Return Value 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-2820630
- published 4 Feb 2022
- disclosed 27 Jan 2022
Introduced: 27 Jan 2022
CVE-2022-0485 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 flaw was found in the copying tool nbdcopy of libnbd. When performing multi-threaded copies using asynchronous nbd calls, nbdcopy was blindly treating the completion of an asynchronous command as successful, rather than checking the *error parameter. This could result in the silent creation of a corrupted destination image.
References
- https://access.redhat.com/security/cve/CVE-2022-0485
- https://access.redhat.com/errata/RHSA-2022:1759
- https://bugzilla.redhat.com/show_bug.cgi?id=2046194
- https://bugzilla.redhat.com/show_bug.cgi?id=2050324
- https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb
- https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html