Skip to content
OpenAdvisories
Medium · 5.3 CVE-2022-36109 EUVD-2022-6933GHSA-rc4r-wh2q-q6c4GO-2022-0985

Moby vulnerability relating to supplementary group permissions

Published Sep 9, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
moby moby < 20.10.18 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 docker.io 20.10.19+dfsg1-1 —
Debian 13 docker.io 20.10.19+dfsg1-1 —
Debian 12 docker.io 20.10.19+dfsg1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS docker.io 20.10.21-0ubuntu1~22.04.2 —
Ubuntu 20.04 LTS docker.io 20.10.21-0ubuntu1~20.04.1 —
Ubuntu 18.04 LTS docker.io 20.10.21-0ubuntu1~18.04.2 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS docker.io No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP6 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP4 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLES 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP3 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLES 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
Show 20 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 15 SP2 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLES 15 SP1 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLES 12 SP5 docker-stable 24.0.9_ce-1.20.1 SUSE-SU-2025:03540-1
SLES 12 docker 20.10.23_ce-98.89.1 SUSE-SU-2023:1625-1
SLES for SAP 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES for SAP 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES for SAP 15 SP3 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLES for SAP 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES for SAP 15 SP2 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLES for SAP 15 SP1 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLE Micro 5.4 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-2
SLE Micro 5.3 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLE Micro 5.2 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLE Micro 5.1 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLE HPC 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP3 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLE HPC 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP2 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SLE HPC 15 SP1 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SUSE Enterprise Storage 7.1 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
SUSE Enterprise Storage 7.1 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SUSE Enterprise Storage 7 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed docker 20.10.23_ce-2.1 openSUSE-SU-2024:12790-1
openSUSE Tumbleweed docker-stable 24.0.9_ce-15.1 openSUSE-SU-2025:15589-1
openSUSE Leap 15.6 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
openSUSE Leap 15.4 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 docker 20.10.23_ce-150000.175.1 SUSE-SU-2023:0795-1
ReleasePackageFixed inAdvisory
Alpine v3.24 docker 20.10.18-r0 —
Alpine v3.23 docker 20.10.18-r0 —
Alpine v3.22 docker 20.10.18-r0 —
Alpine v3.21 docker 20.10.18-r0 —
Alpine v3.20 docker 20.10.18-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 docker 20.10.18-r0 —
Alpine v3.18 docker 20.10.18-r0 —
Alpine v3.17 docker 20.10.18-r0 —
Alpine v3.16 docker 20.10.18-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 containerd +1 1.6.8-2.amzn2023.0.3 ALAS2023-2023-079
Amazon Linux 2023 docker 20.10.17-1.amzn2023.0.6 ALAS2023-2023-143

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/docker/docker < 20.10.18 20.10.18 GHSA-rc4r-wh2q-q6c4
Go github.com/docker/docker < 20.10.18+incompatible 20.10.18+incompatible GO-2022-0985

Advisories 11

References