#VU62797 Improper locking in Storage - CVE-2021-20291

 

#VU62797 Improper locking in Storage - CVE-2021-20291

Published: May 4, 2022


Vulnerability identifier: #VU62797
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-20291
CWE-ID: CWE-667
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Storage
Software vendor:
Container Projects

Description

The vulnerability allows a local user to perform a denial of service attack (DoS) on the target system.

The vulnerability exists due to double-locking error. 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).


Remediation

Install updates from vendor's website.

External links