Live threats

All CVEs / Storage Project

CVE-2021-20291Storage Project Storage

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Apr 1, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-667
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Storage.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/containers/storage < 1.28.1 1.28.1 go get github.com/containers/storage@v1.28.1
Go github.com/containers/storage < 1.28.1 1.28.1 go get github.com/containers/storage@v1.28.1

Per OSV / GitHub Advisories (GHSA-7qw8-847f-pggm, GO-2021-0100). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
storage_projectstorage< 1.28.1
redhatopenshift_container_platform4.0
redhatenterprise_linux8.0
fedoraprojectfedora33
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.