Vulnerability
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. 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.
33 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALPINE-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. When using "--userns-remap", if the root…
- ALPINE-EDGE-CVE-2021-21284
- CGA-37mv-6m92-r8vj
- CGA-3c76-7r5j-829p
- CGA-3g8h-jfjx-x7gc
- CGA-3jpq-6c6r-g6cv
- CGA-5wxq-xv9j-g223
- CGA-78p4-c6w5-vw82
- CGA-fj8x-rmpq-v8f9
- CGA-gqqp-gq9h-rhqj
- CGA-j8mq-2wcm-pqf8
- CGA-p953-hv8h-fp3j
- CGA-qhq4-2xpx-pr3q
- CGA-rcf4-jf43-jhm5
- CGA-w8m2-m4x2-76rq
- CGA-xpvx-rwhf-3fqr
-
DEBIAN-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. When using "--userns-remap", if the root…
-
DSA-4865-1
docker.io - security update
-
GHSA-7452-xqpj-6rpc
moby Access to remapped root allows privilege escalation to real root
-
OESA-2021-1102
docker security update
-
RHVEX-CVE-2021-21284
docker: access to remapped root allows privilege escalation to real root
-
SUSE-SU-2021:0435-1
Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork
-
SUSE-SU-2021:0445-1
Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork
-
SUSE-SU-2021:1458-1
Security update for containerd, docker, runc
-
SUSE-SU-2021:1954-1
Security update for containerd, docker, runc
-
SUSE-SU-2025:03540-1
Security update for docker-stable
-
SUSE-SU-2025:03545-1
Security update for docker-stable
-
UBUNTU-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. When using "--userns-remap", if the root…
-
openSUSE-SU-2021:0278-1
Security update for containerd, docker, docker-runc, golang-github-docker-libnetwork
-
openSUSE-SU-2021:0878-1
Security update for containerd, docker, runc
-
openSUSE-SU-2021:1954-1
Security update for containerd, docker, runc
-
openSUSE-SU-2024:10722-1
docker-20.10.6_ce-2.1 on GA media
-
openSUSE-SU-2025:15589-1
docker-stable-24.0.9_ce-15.1 on GA media
References
- https://docs.docker.com/engine/release-notes/#20103
- https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c
- https://github.com/moby/moby/releases/tag/v19.03.15
- https://github.com/moby/moby/releases/tag/v20.10.3
- https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc
- https://security.gentoo.org/glsa/202107-23
- https://security.netapp.com/advisory/ntap-20210226-0005/
- https://www.debian.org/security/2021/dsa-4865