Medium severity · published Feb 2, 2021
CVE-2021-21284
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
6.8
CVSS
1.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Attack vector
Adjacent
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 65% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
10.0 · source: NVD
DO
Docker · Docker
before 19.03.15; 20.0.0 before 20.10.3 · source: NVD
ES
E-series Santricity OS Controller · Netapp
11.0.0 through 11.60.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-21284
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-21284
Release Notes
https://docs.docker.com/engine/release-notes/#20103
Patch
https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c
Release Notes
https://github.com/moby/moby/releases/tag/v19.03.15
Release Notes
https://github.com/moby/moby/releases/tag/v20.10.3
Third Party Advisory
https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc
Patch
https://security.gentoo.org/glsa/202107-23
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
