CVE-2021-21284: Debian Linux

Medium severity, CVSS 6.8. EPSS: 1.1% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Docker, before 19.03.15: fixed in 19.03.15
  • Docker, from 20.0.0, before 20.10.3: fixed in 20.10.3

Affected products

Affected packages

Published 2021-02-02. Last modified 2026-06-17.