CVE-2021-20291: A deadlock vulnerability was found in 'github.com/containers/storage' in versions before 1.28.1
CVE-2021-20291 is a medium-severity flaw (CVSS 6.5) affecting storage, openshift container platform, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 downloa
Why this priority
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.6% (top 24%) |
| CISA exploited list | No |
| Weakness | CWE-667 |
| Published | 2021-04-01 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-20291?
storage: upgrade to 1.28.1; openshift container platform: downgrade or apply the listed mitigation; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-20291 being exploited?
CVE-2021-20291 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-20291 affect?
CVE-2021-20291 affects storage, openshift container platform, enterprise linux. Severity is medium (CVSS 6.5). 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 err
How urgent is CVE-2021-20291?
Priority 52/100. Public exploit reference; On your watchlist
Software pages
GitHub vulnerabilities · Red Hat OpenShift vulnerabilities
Related CVEs
- CVE-2026-33221 MEDIUM 5.3 UPGRADE Nhost is an open source Firebase alternative with GraphQL
- CVE-2023-4091 MEDIUM 6.5 UPGRADE MITIGATE A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-o
- CVE-2023-42669 MEDIUM 6.5 UPGRADE DOWNGRADE A vulnerability was found in Samba's "rpcecho" development server, a non-Windows RPC server used to test Samba
- CVE-2023-3961 CRITICAL 9.1 UPGRADE DOWNGRADE A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix do
- CVE-2023-3347 MEDIUM 5.9 UPGRADE DOWNGRADE A vulnerability was found in Samba's SMB2 packet signing mechanism