CVE-2021-21284
privilege escalation in Moby
Description
In Docker before versions 9.03.15, 20.10.3 there is a vulnerability involving the --userns-remap option in which access to remapped root allows privilege escalation to real root. When using "--userns-remap", if the root user in the remapped namespace has access to the host filesystem they can modify files under "/var/lib/docker/<remapping>" that cause writing files with extended privileges. Versions 20.10.3 and 19.03.15 contain patches that prevent privilege escalation from remapped user.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:AAttack VectorAdjacent
AC:LAttack ComplexityLow
PR:LPrivileges RequiredLow
UI:NUser InteractionNone
Scope
S:CScopeChanged
Impact
C:NConfidentialityNone
I:HIntegrityHigh
A:NAvailabilityNone
Weaknesses
Affected Products
docker
commercial·US
debian
oss-project·GBaka debian gnu/linux
Сообщество свободного программного обеспечения
oss-projectaka fsf
Docker Inc.
commercial·USaka docker
ООО «РусБИТех-Астра»
commercial·RUaka rusbitech-astra
and 4 more affected products View all →
Exploitability
Official Patch Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
2 techniques Collection
Discovery
References
https://docs.docker.com/engine/release-notes/#20103
docs.docker.com
https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c
github.com
https://github.com/moby/moby/releases/tag/v19.03.15
github.com
and 15 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2021-21284 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
