VDB

DEBIAN-CVE-2021-20291

DEBIAN-CVE-2021-20291 PUBLISHED CVSS 6.5 MEDIUM

Record from OSV · Published April 1, 2021

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
golang-github-containers-storageDebian:131.34.1+ds1-1
golang-github-containers-storageDebian:141.34.1+ds1-1
golang-github-containers-storageDebian:121.34.1+ds1-1

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Debian:13golang-github-containers-storage0
Debian:14golang-github-containers-storage0
Debian:12golang-github-containers-storage0

Timeline

  • Apr 1, 2021 CVE Published
  • Oct 23, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln DEBIAN-CVE-2021-20291
vulnetix vdb fixes DEBIAN-CVE-2021-20291

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2021-20291/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›