6.8

CVE-2021-21284: privilege escalation in Moby

Modified
AliasesUBUNTU-CVE-2021-21284DEBIAN-CVE-2021-21284CGA-37mv-6m92-r8vj
Published 02-02-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-21284 is a medium (CVSS 6.8) vulnerability in debian debian_linux. EPSS estimates a 1.08% chance of exploitation in the next 30 days, higher than 65% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, adjacent network); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.08%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 14

Timeline

  1. 02-02-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 8 sources · 2 versions

EPSS trend

Probability

1.08%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 1.06% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: adjacent network, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard7 products
  • docker-machine-driver-harvester< 1.0.4-r1 | < 1.0.5-r0
  • py3-dockerAll versions (No fix recorded)
  • py3.10-dockerAll versions (No fix recorded)
  • py3.11-dockerAll versions (No fix recorded)
  • py3.12-dockerAll versions (No fix recorded)
Wolfi7 products
  • docker-machine-driver-harvester< 1.0.4-r1 | < 1.0.5-r0
  • py3-dockerAll versions (No fix recorded)
  • py3.10-dockerAll versions (No fix recorded)
  • py3.11-dockerAll versions (No fix recorded)
  • py3.12-dockerAll versions (No fix recorded)
Debian2 products
Alpine1 product
  • docker≥ 20.0.0, < 20.10.3-r0
Docker1 product
  • docker< 19.03.15 | ≥ 20.0.0, < 20.10.3
Github.com/moby1 product
  • moby< 19.3.15 | ≥ 20.10.0-beta1, < 20.10.3
Moby1 product
  • moby< 19.03.15 | ≥ 20.0.0, < 20.10.3
Netapp1 product
Ubuntu1 product
  • docker.ioAll versions (No fix recorded) | < 20.10.7-0ubuntu1~18.04.1 | < 20.10.7-0ubuntu1~20.04.1

9 vendors · 22 products

References

16 links
Show all 16 references