logo

CVE-2021-20291 github.com/containers/storage

Package

Manager: go
Name: github.com/containers/storage
Vulnerable Version: >=0 <1.28.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00111 pctl0.302

Details

Improper Locking in github.com/containers/storage 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).

Metadata

Created: 2021-05-10T19:35:07Z
Modified: 2023-02-14T17:41:32Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-7qw8-847f-pggm/GHSA-7qw8-847f-pggm.json
CWE IDs: ["CWE-400", "CWE-667"]
Alternative ID: GHSA-7qw8-847f-pggm
Finding: F067
Auto approve: 1