Rapid7 Vulnerability & Exploit Database

Red Hat OpenShift: CVE-2021-20291: containers/storage: DoS via malicious image

Back to Search

Red Hat OpenShift: CVE-2021-20291: containers/storage: DoS via malicious image

Severity
7
CVSS
(AV:N/AC:M/Au:N/C:N/I:N/A:C)
Published
04/01/2021
Created
04/22/2021
Added
04/21/2021
Modified
11/10/2021

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(s)

  • linuxrpm-upgrade-cri-o
  • linuxrpm-upgrade-openshift

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;