CVEfocus › CVE database › CVE-2022-36109

CVE-2022-36109Moby vulnerability relating to supplementary group permissions

CVSS 5.3 MediumEPSS 1.1% (higher than 65% of CVEs)Published 2022-09-09Updated 2025-04-23Assigner: GitHub_M

Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where supplementary groups are not set up properly. If an attacker has direct access to a container and manipulates their supplementary group access, they may be able to use supplementary group access to bypass primary group restrictions in some cases, potentially gaining access to sensitive information or gaining the ability to execute code in that container. This bug is fixed in Moby (Docker Engine) 20.10.18. Running containers should be stopped and restarted for the permissions to be fixed. For users unable to upgrade, this problem can be worked around by not using the `"USER $USERNAME"` Dockerfile instruction. Instead by calling `ENTRYPOINT ["su", "-", "user"]` the supplementary groups will be set up properly.

CWE-863

What to do

Fixed builds are available from Alpine, Debian, Go, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
2Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04docker.ioNot affected
vulnerable_code_not_present
Ubuntu 25.10docker.ioNot affected
vulnerable_code_not_present
Ubuntu 22.04docker.ioFixed20.10.21-0ubuntu1~22.04.2UBUNTU-CVE-2022-36109
Ubuntu 20.04docker.ioFixed20.10.21-0ubuntu1~20.04.1UBUNTU-CVE-2022-36109
Ubuntu 18.04docker.ioFixed20.10.21-0ubuntu1~18.04.2UBUNTU-CVE-2022-36109
Ubuntu 16.04docker.ioFix pendingUBUNTU-CVE-2022-36109
Ubuntu 14.04docker.ioFix pending
Debian 14docker.ioFixed20.10.19+dfsg1-1DEBIAN-CVE-2022-36109
Debian 13docker.ioFixed20.10.19+dfsg1-1DEBIAN-CVE-2022-36109
Debian 12docker.ioFixed20.10.19+dfsg1-1DEBIAN-CVE-2022-36109
Alpine Linux 3.24dockerFixed20.10.18-r0ALPINE-CVE-2022-36109
Alpine Linux 3.23dockerFixed20.10.18-r0ALPINE-CVE-2022-36109
Alpine Linux 3.22dockerFixed20.10.18-r0ALPINE-CVE-2022-36109
Alpine Linux 3.21dockerFixed20.10.18-r0ALPINE-CVE-2022-36109
Alpine Linux 3.20dockerFixed20.10.18-r0ALPINE-CVE-2022-36109
Alpine Linux 3.19dockerFixed20.10.18-r0ALPINE-CVE-2022-36109
Alpine Linux 3.18dockerFixed20.10.18-r0ALPINE-CVE-2022-36109
Alpine Linux 3.17dockerFixed20.10.18-r0ALPINE-CVE-2022-36109
Alpine Linux 3.16dockerFixed20.10.18-r0ALPINE-CVE-2022-36109
Go librarygithub.com/containerd/containerdFixed1.5.18GO-2023-1574
Go librarygithub.com/containers/buildahFixed1.27.1GO-2022-1008
Go librarygithub.com/docker/dockerFixed20.10.18+incompatibleGHSA-rc4r-wh2q-q6c4

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.