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 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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*
cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:*

History

29 Apr 2022, 19:22

Type Values Removed Values Added
References
  • (GENTOO) https://security.gentoo.org/glsa/202107-23 - Patch, Third Party Advisory

15 Mar 2021, 17:31

Type Values Removed Values Added
References (CONFIRM) https://security.netapp.com/advisory/ntap-20210226-0005/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20210226-0005/ - Third Party Advisory
References (DEBIAN) https://www.debian.org/security/2021/dsa-4865 - (DEBIAN) https://www.debian.org/security/2021/dsa-4865 - Third Party Advisory
CPE cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

28 Feb 2021, 12:15

Type Values Removed Values Added
References
  • (DEBIAN) https://www.debian.org/security/2021/dsa-4865 -

26 Feb 2021, 09:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20210226-0005/ -

10 Feb 2021, 18:24

Type Values Removed Values Added
References (MISC) https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c - (MISC) https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c - Patch, Third Party Advisory
References (MISC) https://docs.docker.com/engine/release-notes/#20103 - (MISC) https://docs.docker.com/engine/release-notes/#20103 - Release Notes, Vendor Advisory
References (CONFIRM) https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc - (CONFIRM) https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc - Third Party Advisory
References (MISC) https://github.com/moby/moby/releases/tag/v19.03.15 - (MISC) https://github.com/moby/moby/releases/tag/v19.03.15 - Release Notes, Third Party Advisory
References (MISC) https://github.com/moby/moby/releases/tag/v20.10.3 - (MISC) https://github.com/moby/moby/releases/tag/v20.10.3 - Release Notes, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 2.7
v3 : 6.8
CPE cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*

02 Feb 2021, 19:15

Type Values Removed Values Added
Summary 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. 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.

02 Feb 2021, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-02-02 18:15

Updated : 2023-12-10 13:41


NVD link : CVE-2021-21284

Mitre link : CVE-2021-21284

CVE.ORG link : CVE-2021-21284


JSON object : View

Products Affected

debian

  • debian_linux

netapp

  • e-series_santricity_os_controller

docker

  • docker
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')