CVE-2021-21284

privilege escalation in Moby

Published Feb 2, 2021 CVSS 3.1 · 6.8 Medium EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4865-1 docker.io security update
EUVD EUVD EUVD-2024-0280 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.
Github GHSA Github GHSA GHSA-7452-xqpj-6rpc moby Access to remapped root allows privilege escalation to real root
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2024, 6:09 PM
Reserved
Dec 22, 2020, 12:00 AM
Status
Modified
Published
Feb 2, 2021, 6:15 PM
Modified
Jun 17, 2026, 3:35 AM
Severity
Moderate
Public date
Feb 2, 2021, 12:00 AM