PT-2020-5850

CVE-2021-21284

·

Published

2020-12-22

·

Updated

2026-09-18

Description by

CVSS 3.1
6.8
Medium
MetricsAV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions: Docker versions prior to 19.03.15 Docker versions prior to 20.10.3
Description: The issue involves the --userns-remap option, which allows privilege escalation to real root when the root user in the remapped namespace has access to the host filesystem. This can lead to writing files with extended privileges under "/var/lib/docker/".
Recommendations: For Docker versions prior to 19.03.15, update to version 19.03.15 or later to prevent privilege escalation from remapped user. For Docker versions prior to 20.10.3, update to version 20.10.3 or later to prevent privilege escalation from remapped user. As a temporary workaround, consider restricting access to the host filesystem for the root user in the remapped namespace to minimize the risk of exploitation.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-7452-XQPJ-6RPC
ALT-PU-2021-4842
CLEANSTART-2026-QN82133
DSA-4865-1
OESA-2021-1102
OPENSUSE-SU-2021:0278-1
OPENSUSE-SU-2021_0278-1
OPENSUSE-SU-2021:0878-1
OPENSUSE-SU-2021_0878-1
OPENSUSE-SU-2021:1954-1
OPENSUSE-SU-2021_1954-1
OPENSUSE-SU-2024:10722-1
OPENSUSE-SU-2025:15589-1
SUSE-SU-2021:0435-1
SUSE-SU-2021:0445-1
SUSE-SU-2021:1458-1
SUSE-SU-2021:1954-1
SUSE-SU-2021_1954-1
SUSE-SU-2025:03540-1
SUSE-SU-2025:03545-1
USN-5032-1
USN-5032-2
Found an issue in the description? Have something to add? Feel free to write us 👾