Home/CVE/A deadlock vulnerability was found in 'github.com/containers/storage' in versions before 1.28.1. When a container image
CVE

CVE-2021-20291

A deadlock vulnerability was found in 'github.com/containers/storage' in versions before 1.28.1. When a container image

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

MEDIUM · CVSS 6.5 EPSS 0.01026
Schedule remediation
  • Public exploit or PoC is available
Sigma rules8 YARA rules0

Weakness Classification

Affected Products & Versions

4

Affected Packages

1
Language-ecosystem packages (from OSV) tied to this CVE, with the version that fixes it - the dependency-level detail NVD doesn’t carry.
Go github.com/containers/storage MODERATE fixed in 1.28.1

Public Exploits & PoCs

1
pocunit42.paloaltonetworks.com · cve-2021-20291unit42.paloaltonetworks.com

Sigma Hunt Rules

8
Exact rules name this CVE ID. Product rules name an affected product in their title. Related rules cover techniques used by actors who exploited this CVE. Showing the most relevant matches; the complete related set is on the full drill-down.
producthighEnable LM Hash Storage - ProcCreation
producthighProtected Storage Service Access
producthighEnable LM Hash Storage
productmediumGoogle Cloud Storage Buckets Modified or Deleted
productmediumESXi Storage Information Discovery Via ESXCLI
productmediumWrite Protect For Storage Disabled

Scoring & Timeline

6.5
MEDIUM · CVSS v3.1 · secalert@redhat.com
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD01 Apr 2021 · 06:15 PM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Vendor Advisories

11
suse-csafopenSUSE-SU-2024:11757-1
suse-csafSUSE-SU-2022:3312-1
rhsaRHSA-2022:7954Moderate
suse-csafopenSUSE-SU-2022:23018-1
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin