MEDIUM · 6.5

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 ...

Vulnerability 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).

CVSS Score

6.5

MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH

Affected Products

VendorProductVersions
Storage ProjectStorage< 1.28.1
RedhatOpenshift Container Platform4.0
RedhatEnterprise Linux8.0
FedoraprojectFedora33

Related Weaknesses (CWE)

References

FAQ

What is CVE-2021-20291?

CVE-2021-20291 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...

How severe is CVE-2021-20291?

CVE-2021-20291 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2021-20291?

Check the references section above for vendor advisories and patch information. Affected products include: Storage Project Storage, Redhat Openshift Container Platform, Redhat Enterprise Linux, Fedoraproject Fedora.