Permissions, Privileges, and Access Controls in Docker - CVE-2021-21284
Published: February 2, 2021 / Updated: February 3, 2021
Vulnerability details
The vulnerability allows a remote attacker to escalate privileges on the system.
The vulnerability exists due to application does not properly impose security restrictions when using the --userns-remap option. A remote authenticated attacker on the local network can send a specially crafted request and gain elevated privileges as root on the system.
Affected software
Arch Linux
Gentoo Linux
Amazon Linux AMI
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE CaaS Platform
SUSE Manager Server
SUSE MicroOS
SUSE Enterprise Storage
SUSE Linux Enterprise Module for Containers
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
openEuler
IBM Cloud Automation Manager
docker (Alpine package)
docker.io (Debian package)
runc
runc-debuginfo
containerd
docker-engine
docker
docker-debuginfo
Dell EMC VxRail Appliance
Storage Ceph
How to mitigate CVE-2021-21284
docker (Alpine package) - update to 20.10.3-r0
docker.io (Debian package) - update to 18.09.1+dfsg1-7.1+deb10u3
runc - update to 1.0.0~rc93-16.8.1
runc-debuginfo - update to 1.0.0~rc93-16.8.1
containerd - addressed in versions 1.4.4-5.32.1, 1.4.4-16.38.1
docker-engine - update to 18.09.0-202
docker - update to 20.10.6_ce-98.66.1
docker-debuginfo - update to 20.10.6_ce-98.66.1
Dell EMC VxRail Appliance - update to 7.0.203
Storage Ceph - update to 7.1
External 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
Related Security Bulletins
- Multiple vulnerabilities in Docker
- Arch Linux update for docker
- Permissions, Privileges, and Access Controls in docker (Alpine package)
- Debian update for docker.io
- Gentoo update for Docker
- Amazon Linux AMI update for docker
- SUSE update for containerd, docker, runc
- Multiple vulnerabilities in Dell EMC VxRail Appliance
- SUSE update for containerd, docker, runc
- Multiple vulnerabilities in IBM Cloud Automation Manager
- openEuler update for docker
- Multiple vulnerabilities in IBM Storage Ceph