Security mailing lists by PureSourceCode

CVE-2021-20291

MEDIUM 6.5CVSS 3.1

Improper Locking in github.com/containers/storage

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

Published
1 Apr 2021
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-400CWE-667
Also known as
GHSA-7qw8-847f-pggmGO-2021-0100
Sources
NVDJSONOSV GHSA-7qw8-847f-pggmJSONOSV GO-2021-0100JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.1 AV:N/AC:M/Au:N/C:N/I:N/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD storage_project storage
cpe:2.3:a:storage_project:storage:*:*:*:*:*:*:*:*
< 1.28.1 1.28.1
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
= 4.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
OSV Go github.com/containers/storage < 1.28.1 1.28.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 1 Apr 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jul 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 May 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.