{"cve":"CVE-2021-20291","nvd":{"published":"2021-04-01T18:15:12.603","modified":"2026-06-17T03:33:37.010","status":"Modified","description":"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).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-667"],"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/"],"products":["fedoraproject:fedora","redhat:enterprise_linux","redhat:openshift_container_platform","storage_project:storage"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2021-20291","score":0.01587,"percentile":0.75606,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-7qw8-847f-pggm","url":"https://osv.dev/vulnerability/GHSA-7qw8-847f-pggm","summary":"Improper Locking in github.com/containers/storage","modified":"2023-11-08T04:04:36.808520Z","packages":[{"ecosystem":"Go","name":"github.com/containers/storage","purl":"pkg:golang/github.com/containers/storage","ranges":["<1.28.1"],"fixed":["1.28.1"]}]},{"id":"GO-2021-0100","url":"https://osv.dev/vulnerability/GO-2021-0100","summary":"Denial of service via deadlock in github.com/containers/storage","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/containers/storage","purl":"pkg:golang/github.com/containers/storage","ranges":["<1.28.1"],"fixed":["1.28.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}