CVE-2021-21284

MEDIUM

Docker <9.03.15, 20.10.3 - Privilege Escalation

Title source: llm
STIX 2.1

Description

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.

References (8)

Core 8
Core References
Release Notes, Vendor Advisory x_refsource_misc
https://docs.docker.com/engine/release-notes/#20103
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/moby/moby/releases/tag/v20.10.3
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/moby/moby/releases/tag/v19.03.15
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20210226-0005/
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2021/dsa-4865
Patch, Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202107-23

Scores

CVSS v3 6.8
EPSS 0.0002
EPSS Percentile 5.7%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Details

CWE
CWE-22
Status published
Products (4)
debian/debian_linux 10.0
docker/docker < 19.03.15
moby/moby 0 - 19.3.15Go
netapp/e-series_santricity_os_controller 11.0.0 - 11.60.3
Published Feb 02, 2021
Tracked Since Feb 18, 2026