docs.docker.com
https://docs.docker.com/engine/release-notes CVE-2021-21284
MEDIUM
privilege escalation in Moby
Record summary
CVE-2021-21284 has a selected CVSS score of 6.8 (medium).
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.
Description source: CVE List
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
| CVE List | < 19.03.15 | affected | |
| >= 20.0.0, < 20.10.3 | affected | ||
github.com/moby/mobyBrowse Go / github.com/moby/moby | GitHub Advisory | Before 19.3.15 · Fixed in 19.3.15 | affected |
| 20.10.0-beta1 to < 20.10.3 · Fixed in 20.10.3 | affected |
References
9github.com
https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c github.com
https://github.com/moby/moby/releases/tag/v19.03.15 github.com
https://github.com/moby/moby/releases/tag/v20.10.3 github.comConfirmation
https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2021-21284 GLSA-202107-23Vendor advisory
https://security.gentoo.org/glsa/202107-23 security.netapp.comConfirmation
https://security.netapp.com/advisory/ntap-20210226-0005 DSA-4865Vendor advisory
https://www.debian.org/security/2021/dsa-4865