Live threats

All CVEs / Docker

CVE-2021-21284Docker

Medium 6.8

Priority
41
CVSS 3.1
6.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
Yes
Published
Feb 2, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Docker.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/moby/moby < 19.3.15 19.3.15 go get github.com/moby/moby@v19.3.15
Go github.com/moby/moby ≥ 20.10.0-beta1 < 20.10.3 20.10.3 go get github.com/moby/moby@v20.10.3

Per OSV / GitHub Advisories (GHSA-7452-xqpj-6rpc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dockerdocker< 19.03.15
dockerdocker≥ 20.0.0 < 20.10.3
debiandebian_linux10.0
netappe-series_santricity_os_controller≥ 11.0.0 ≤ 11.60.3

Official sources

References

Links published by the sources. Open them with care.