VULNERABILITY INTELLIGENCE
CVE-2021-21284
CVSS score6.8 MEDIUM
EPSS probability1.08%
CISA KEVNot currently listed
Published2021-02-02
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
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.
Weakness classification
- security-advisories@github.com: CWE-22
- nvd@nist.gov: CWE-22
Primary references
- security-advisories@github.com — Release Notes, Vendor Advisory
- security-advisories@github.com — Patch, Third Party Advisory
- security-advisories@github.com — Release Notes, Third Party Advisory
- security-advisories@github.com — Release Notes, Third Party Advisory
- security-advisories@github.com — Third Party Advisory
- security-advisories@github.com — Patch, Third Party Advisory
- security-advisories@github.com — Third Party Advisory
- security-advisories@github.com — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes, Third Party Advisory