CVE-2021-21284
docker: access to remapped root allows privilege escalation to real root
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 2, 2021
Updated · August 14, 2026
Description
A flaw was found in the userns-remap feature of Docker. The root user in the remapped namespace can modify files under /var/lib/docker/<remapping>, leading to possible privilege escalation to the root user in the host. The highest threat from this vulnerability is to data integrity.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
CWE-732 · Incorrect Permission Assignment for Critical Resource