vulnerability
Ubuntu: (CVE-2021-20291): golang-github-containers-storage vulnerability
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:N/AC:M/Au:N/C:N/I:N/A:C) | Apr 1, 2021 | Jun 26, 2025 | Mar 27, 2026 |
Severity
7
CVSS
(AV:N/AC:M/Au:N/C:N/I:N/A:C)
Published
Apr 1, 2021
Added
Jun 26, 2025
Modified
Mar 27, 2026
Description
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).
Solution
no-fix-ubuntu-package
References
- CVE-2021-20291
- https://attackerkb.com/topics/CVE-2021-20291
- CWE-667
- EUVD-EUVD-2021-1004
- https://bugzilla.redhat.com/show_bug.cgi?id=1939485
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1004
- https://github.com/containers/storage/commit/306fcabc964470e4b3b87a43a8f6b7d698209ee1
- https://www.cve.org/CVERecord?id=CVE-2021-20291
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.