# CVE-2021-21284: moby Access to remapped root allows privilege escalation to real root

Source: https://junglewise.ai/threats/cve-2021-21284-moby-access-to-remapped-root-allows-privilege-escalation-to-real  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-01-31  
License: CC BY 4.0 with a link back

CVE-2021-21284 · Severity: low · CVSS 3.1 · Published 2024-01-31

moby Access to remapped root allows privilege escalation to real root

Technologies: [github.com/moby/moby (Go)](https://junglewise.ai/threats/technologies/github-com-moby-moby). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2021-21284 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-21284 being exploited in the wild.

**How severe is CVE-2021-21284?** Low severity, with a CVSS score of 3.1, published 31 January 2024.

**Which products and versions are affected?** github.com/moby/moby (Go) SEMVER:introduced=0,fixed=19.3.15.

**Is there a fix for CVE-2021-21284?** Yes. github.com/moby/moby (Go): upgrade to 19.3.15 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-21284?** Check whether you run github.com/moby/moby (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/moby/moby (Go): upgrade to 19.3.15 or later

  ```sh
  go get github.com/moby/moby@v19.3.15
  ```


## Affected products

- github.com/moby/moby (Go) SEMVER:introduced=0,fixed=19.3.15

## Identifiers

- CVE-2021-21284
- GHSA-7452-xqpj-6rpc

## Related threats

- [Moby Docker Engine race condition in docker cp mount setup](https://junglewise.ai/threats/cve-2026-42306-moby-docker-engine-race-condition-in-docker-cp-mount-setup)
- [Moby Docker Engine symlink race condition in docker cp](https://junglewise.ai/threats/cve-2026-41568-moby-docker-engine-symlink-race-condition-in-docker-cp)
- [Moby and Docker Engine code execution via trojanized decompression binaries](https://junglewise.ai/threats/cve-2026-41567-moby-and-docker-engine-code-execution-via-trojanized)
- [Moby AuthZ plugin authorization bypass via oversized request body](https://junglewise.ai/threats/cve-2026-34040-moby-authz-plugin-authorization-bypass-via-oversized-request-body)
- [Moby privilege validation bypass in docker plugin install](https://junglewise.ai/threats/cve-2026-33997-moby-privilege-validation-bypass-in-docker-plugin-install)
