CVE-2021-20291
Last modified
CVE-2021-20291 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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`. EPSS estimates a 1.59% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Storage Project | Storage | < 1.28.1 |
| Redhat | Openshift Container Platform | 4.0 |
| Redhat | Enterprise Linux | 8.0 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1939485Issue Tracking, Patch, Third Party Advisory
- https://unit42.paloaltonetworks.com/cve-2021-20291/Exploit, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1939485Issue Tracking, Patch, Third Party Advisory
- https://unit42.paloaltonetworks.com/cve-2021-20291/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20291?
How severe is CVE-2021-20291?
How do I fix CVE-2021-20291?
Are you affected by CVE-2021-20291?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
