Improper Locking Affecting containers-common package, versions <2:1-2.0.2.module+el8.5.0+20424+d687fed7
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-CONTAINERSCOMMON-2590652
- published 10 Apr 2022
- disclosed 1 Apr 2021
Introduced: 1 Apr 2021
CVE-2021-20291 Open this link in a new tabHow to fix?
Upgrade Oracle:8
containers-common
to version 2:1-2.0.2.module+el8.5.0+20424+d687fed7 or higher.
This issue was patched in ELSA-2021-4154
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream containers-common
package and not the containers-common
package as distributed by Oracle
.
See How to fix?
for Oracle:8
relevant fixed versions and status.
A deadlock vulnerability was found in 'github.com/containers/storage' in versions before 1.28.1. When a container image is processed, each layer is unpacked using tar
. If one of those layers is not a valid tar
archive this causes an error leading to an unexpected situation where the code indefinitely waits for the tar unpacked stream, which never finishes. An attacker could use this vulnerability to craft a malicious image, which when downloaded and stored by an application using containers/storage, would then cause a deadlock leading to a Denial of Service (DoS).
References
- https://linux.oracle.com/cve/CVE-2021-20291.html
- https://linux.oracle.com/errata/ELSA-2021-4154.html
- https://linux.oracle.com/errata/ELSA-2022-7954.html
- https://linux.oracle.com/errata/ELSA-2022-7955.html
- https://linux.oracle.com/errata/ELSA-2022-8008.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1939485
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R5D7XL7FL24TWFMGQ3K2S72EOUSLZMKL/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SPYOHNG2Q7DCAQZMGYLMENLKALGDLG3X/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WX24EITRXVHDM5M223BVTJA2ODF2FSHI/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZNMB7O2UIXE34PGSCSOULGHPX5LIJBMM/
- https://unit42.paloaltonetworks.com/cve-2021-20291/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R5D7XL7FL24TWFMGQ3K2S72EOUSLZMKL/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPYOHNG2Q7DCAQZMGYLMENLKALGDLG3X/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WX24EITRXVHDM5M223BVTJA2ODF2FSHI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNMB7O2UIXE34PGSCSOULGHPX5LIJBMM/