cbcvebase.
CVE-2021-21284
published 2021-02-02

CVE-2021-21284: 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…

medium6.8CVSS 3.1
AVAACLPRLUINSCCNIHAN
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/" 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

14 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandocker.io< docker.io 20.10.3+dfsg1-1 (bookworm)docker.io 20.10.3+dfsg1-1 (bookworm)
dockerdocker< 19.03.1519.03.15
dockerdocker>= 20.0.0 < 20.10.320.10.3
github.commoby_moby>= 0 < 19.3.1519.3.15
github.commoby_moby>= 20.10.0-beta1 < 20.10.320.10.3
mobymoby< 19.03.1519.03.15
mobymoby
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64
msrccm1_moby-buildx_0.4.1+azure-3_on_cbl_mariner_1.0
msrccm1_moby-cli_19.03.15+azure-2_on_cbl_mariner_1.0
msrccm1_moby-engine_19.03.15+azure-2_on_cbl_mariner_1.0
netappe-series_santricity_os_controller11.0.0 – 11.60.3

CVSS provenance

nvdv3.16.8MEDIUMCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
osv6.8MEDIUM