Vulnerabilities · 2021 · Docker
CVE-2021-21284
Docker vulnerability
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.
Affected products
Docker, Debian Linux, E-series Santricity Os Controller. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Docker runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- docs.docker.com/engine/release-notes/#20103 · Vendor Advisory
- github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c · Patch
- security.gentoo.org/glsa/202107-23 · Patch
- github.com/moby/moby/releases/tag/v19.03.15 · Third Party Advisory
- github.com/moby/moby/releases/tag/v20.10.3 · Third Party Advisory
- github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc · Third Party Advisory
- security.netapp.com/advisory/ntap-20210226-0005/ · Third Party Advisory
- www.debian.org/security/2021/dsa-4865 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-21284
- cve.org/CVERecord?id=CVE-2021-21284
More vulnerabilities in Docker products
CVE-2026-6406CVE-2026-5843CVE-2026-5817CVE-2025-13743CVE-2025-3224CVE-2024-8696CVE-2024-8695CVE-2024-6222All 89
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.