Vulnerability
CVE-2021-20291
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).
27 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALBA-2022:0348
container-tools:3.0 security, bug fix, and enhancement update
-
ALSA-2021:4154
Moderate: container-tools:rhel8 security, bug fix, and enhancement update
-
ALSA-2022:7954
Moderate: podman security and bug fix update
-
ALSA-2022:7955
Moderate: skopeo security and bug fix update
-
ALSA-2022:8008
Moderate: buildah security and bug fix update
-
AZL-44580
CVE-2021-20291 affecting package buildah for versions less than 1.41.4-2
-
DEBIAN-CVE-2021-20291
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`…
-
ELSA-2021-4154
ELSA-2021-4154: container-tools:ol8 security, bug fix, and enhancement update (MODERATE)
-
ELSA-2022-7954
ELSA-2022-7954: podman security and bug fix update (MODERATE)
-
ELSA-2022-7955
ELSA-2022-7955: skopeo security and bug fix update (MODERATE)
-
ELSA-2022-8008
ELSA-2022-8008: buildah security and bug fix update (MODERATE)
-
GHSA-7qw8-847f-pggm
Improper Locking in github.com/containers/storage
-
GO-2021-0100
Denial of service via deadlock in github.com/containers/storage
-
RHBA-2022:0348
Red Hat Bug Fix Advisory: container-tools:3.0 security, bug fix, and enhancement update
-
RHSA-2021:1150
Red Hat Security Advisory: OpenShift Container Platform 4.7.7 security update
-
RHSA-2021:2437
Red Hat Security Advisory: OpenShift Container Platform 4.8.2 packages and security update
-
RHSA-2021:4154
Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update
-
RHSA-2022:7954
Red Hat Security Advisory: podman security and bug fix update
-
RHSA-2022:7955
Red Hat Security Advisory: skopeo security and bug fix update
-
RHSA-2022:8008
Red Hat Security Advisory: buildah security and bug fix update
-
RHVEX-CVE-2021-20291
containers/storage: DoS via malicious image
-
RLSA-2021:4154
Moderate: container-tools:rhel8 security, bug fix, and enhancement update
-
SUSE-SU-2022:23018-1
Security update for conmon, libcontainers-common, libseccomp, podman
-
SUSE-SU-2022:3312-1
Security update for libcontainers-common
-
UBUNTU-CVE-2021-20291
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`…
-
openSUSE-SU-2022:23018-1
Security update for conmon, libcontainers-common, libseccomp, podman
-
openSUSE-SU-2024:11757-1
libcontainers-common-20210626-7.1 on GA media
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1939485
- 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/
- https://unit42.paloaltonetworks.com/cve-2021-20291/