CVE-2021-20291

Medium

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

SeverityMedium
CVSS6.5
Exploit probability—
ProductStorage
PublishedApr 1, 2021
First seenApr 1, 2021
Weakness typeCWE-667CWE-667

How to fix

Affected products

ProductAffected versionsFixed in
storage_project storagev < 1.28.11.28.1
redhat openshift_container_platform4.0—
redhat enterprise_linux8.0—
fedoraproject fedora33, 34—
github.com/containers/storageGov < 1.28.11.28.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.