Security mailing lists by PureSourceCode

CVE-2021-21284

MEDIUM 6.8CVSS 3.1

moby Access to remapped root allows privilege escalation to real root

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.

Published
2 Feb 2021
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-7452-xqpj-6rpc
Sources
NVDJSONOSV GHSA-7452-xqpj-6rpcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.7 AV:A/AC:L/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD docker docker
cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*
< 19.03.15 19.03.15
NVD docker docker
cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*
>= 20.0.0, < 20.10.3 20.10.3
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD netapp e-series_santricity_os_controller
cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:*
>= 11.0.0, <= 11.60.3
OSV Go github.com/moby/moby < 19.3.15 19.3.15
OSV Go github.com/moby/moby >= 20.10.0-beta1, < 20.10.3 20.10.3

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Feb 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 31 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.