Skip to main content
← All vulnerabilities
CVE-2021-21284GHSA-7452-XQPJ-6RPC

privilege escalation in Moby

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 19.03.15, 20.10.3, 19.3.15
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • moby moby

    fixed in 19.03.15; From 20.0.0 · fixed in 20.10.3

  • github.com/moby/mobyGo

    fixed in 19.3.15

  • github.com/moby/mobyGo

    From 20.10.0-beta1 · fixed in 20.10.3

References 8

docs.docker.com

GitHub · moby/moby

security.netapp.com

debian.org

security.gentoo.org