UBUNTU-CVE-2021-20291 (CVE-2021-20291)
Vulnerability from osv_ubuntu – Published: 2021-04-01 18:15 – Updated: 2025-10-24 04:50 – Source websiteA 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).
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "containers-storage",
"binary_version": "1.15.8+dfsg1-1ubuntu2.1"
},
{
"binary_name": "golang-github-containers-storage-dev",
"binary_version": "1.15.8+dfsg1-1ubuntu2.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-github-containers-storage",
"purl": "pkg:deb/ubuntu/golang-github-containers-storage@1.15.8+dfsg1-1ubuntu2.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.2+dfsg1-2",
"1.13.2+dfsg1-3",
"1.13.5+dfsg1-1",
"1.15.1+dfsg1-1",
"1.15.2+dfsg1-1",
"1.15.3+dfsg1-1",
"1.15.5+dfsg1-1",
"1.15.7+dfsg1-1",
"1.15.8+dfsg1-1",
"1.15.8+dfsg1-1ubuntu1",
"1.15.8+dfsg1-1ubuntu2",
"1.15.8+dfsg1-1ubuntu2.1"
]
}
],
"aliases": [],
"details": "A deadlock vulnerability was found in \u0027github.com/containers/storage\u0027 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).",
"id": "UBUNTU-CVE-2021-20291",
"modified": "2025-10-24T04:50:05Z",
"published": "2021-04-01T18:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-20291"
},
{
"type": "REPORT",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1939485"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-20291"
},
{
"type": "REPORT",
"url": "https://github.com/containers/storage/commit/306fcabc964470e4b3b87a43a8f6b7d698209ee1"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-20291"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.