Unchecked Return Value Affecting swtpm-tools package, versions <0:0.7.0-1.20211109gitb79fd91.module+el8.6.0+20659+3dcf7c70
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-ORACLE8-SWTPMTOOLS-2830430
- published 18 May 2022
- disclosed 29 Aug 2022
Introduced: 18 May 2022
CVE-2022-0485 Open this link in a new tabHow to fix?
Upgrade Oracle:8 swtpm-tools to version 0:0.7.0-1.20211109gitb79fd91.module+el8.6.0+20659+3dcf7c70 or higher.
This issue was patched in ELSA-2022-1759.
NVD Description
Note: Versions mentioned in the description apply only to the upstream swtpm-tools package and not the swtpm-tools package as distributed by Oracle.
See How to fix? for Oracle: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://linux.oracle.com/cve/CVE-2022-0485.html
- https://linux.oracle.com/errata/ELSA-2022-1759.html
- https://access.redhat.com/security/cve/CVE-2022-0485
- 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