Vulnerability in Storage Project
CVE-2021-20291
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.016, 76.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Storage Project
- Fedoraproject Fedora — versions 33, 34
- Red Hat Enterprise Linux — versions 8.0
- Red Hat Openshift Container Platform — versions 4.0
- Containers/storage — versions containers/storage 1.28.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (43622283/awesome-cloud-native-security, ARPSyndicate/cvemon, ARPSyndicate/cve-scores, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- FEDORA-2021-ec00da7faa (vendor-advisory)
- FEDORA-2021-83b3740389 (vendor-advisory)
- FEDORA-2021-a3703b9dc8 (vendor-advisory)
- FEDORA-2021-c56a213327 (vendor-advisory)
- unit42.paloaltonetworks.com/cve-2021-20291/ (Exploit, Third Party Advisory)