DEBIAN-CVE-2021-20291
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| golang-github-containers-storage | Debian:13 | 1.34.1+ds1-1 |
| golang-github-containers-storage | Debian:14 | 1.34.1+ds1-1 |
| golang-github-containers-storage | Debian:12 | 1.34.1+ds1-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:13 | golang-github-containers-storage | 0 |
| Debian:14 | golang-github-containers-storage | 0 |
| Debian:12 | golang-github-containers-storage | 0 |
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