CVE-2021-21284GHSA-7452-XQPJ-6RPC
privilege escalation in Moby
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 19.03.15, 20.10.3, 19.3.15
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- 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