ID CVE-2021-20291
Summary 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).
References
Vulnerable Configurations
  • cpe:2.3:a:storage_project:storage:-:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:-:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:0.21.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:0.21.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.4:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.5:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.6:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.7:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.8:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.9:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.10:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.11:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.11.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.11.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.3:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.3:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.4:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.4:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.5:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.5:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.6:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.6:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.7:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.7:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.8:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.8:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.9:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.9:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.10:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.10:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.11:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.11:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.12:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.12:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.13:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.13:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.14:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.14:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.15:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.15:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.12.16:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.12.16:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.13.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.13.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.13.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.13.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.13.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.13.3:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.13.3:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.13.4:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.13.4:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.13.5:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.13.5:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.13.6:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.13.6:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.13.7:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.13.7:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.14.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.15.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.15.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.15.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.15.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.15.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.15.3:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.15.3:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.15.4:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.15.4:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.15.5:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.15.5:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.15.6:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.15.6:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.15.7:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.15.7:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.15.8:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.15.8:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.16.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.16.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.16.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.16.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.16.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.16.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.16.3:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.16.3:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.16.4:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.16.4:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.16.5:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.16.5:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.16.6:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.16.6:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.17.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.17.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.18.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.18.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.18.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.18.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.18.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.18.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.19.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.19.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.19.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.19.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.19.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.19.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.20.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.20.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.20.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.20.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.20.3:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.20.3:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.20.4:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.20.4:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.20.5:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.20.5:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.21.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.21.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.21.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.21.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.21.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.21.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.22.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.22.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.23.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.23.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.23.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.23.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.23.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.23.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.23.3:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.23.3:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.23.4:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.23.4:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.23.5:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.23.5:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.23.6:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.23.6:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.23.7:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.23.7:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.23.8:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.23.8:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.23.9:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.23.9:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.24.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.24.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.24.1:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.24.1:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.24.2:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.24.2:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.24.3:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.24.3:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.24.4:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.24.4:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.24.5:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.24.5:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.24.6:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.24.6:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.24.7:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.24.7:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.24.8:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.24.8:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.25.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.25.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.26.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.26.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.27.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.27.0:*:*:*:*:*:*:*
  • cpe:2.3:a:storage_project:storage:1.28.0:*:*:*:*:*:*:*
    cpe:2.3:a:storage_project:storage:1.28.0:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
    cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
CVSS
Base: 7.1 (as of 04-05-2021 - 03:15)
Impact:
Exploitability:
CWE CWE-667
CAPEC
  • Leveraging Race Conditions via Symbolic Links
    This attack leverages the use of symbolic links (Symlinks) in order to write to sensitive files. An attacker can create a Symlink link to a target file not otherwise accessible to her. When the privileged program tries to create a temporary file with the same name as the Symlink link, it will actually write to the target file pointed to by the attackers' Symlink link. If the attacker can insert malicious content in the temporary file she will be writing to the sensitive file by using the Symlink. The race occurs because the system checks if the temporary file exists, then creates the file. The attacker would typically create the Symlink during the interval between the check and the creation of the temporary file.
  • Forced Deadlock
    The adversary triggers and exploits a deadlock condition in the target software to cause a denial of service. A deadlock can occur when two or more competing actions are waiting for each other to finish, and thus neither ever does. Deadlock conditions can be difficult to detect.
  • Leveraging Race Conditions
    The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with his version and cause the system to read the malicious file.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE COMPLETE
cvss-vector via4 AV:N/AC:M/Au:N/C:N/I:N/A:C
Last major update 04-05-2021 - 03:15
Published 01-04-2021 - 18:15
Last modified 04-05-2021 - 03:15
Back to Top