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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | docker.io | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | docker | 20.10.23_ce-150000.175.1 | SUSE-SU-2023:0795-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- openSUSE-SU-2025:15589-1 docker-stable-24.0.9_ce-15.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03545-1 Security update for docker-stable SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2023:1625-1 Security update for docker SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0795-1 Security update for docker SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0795-2 Security update for docker SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03540-1 Security update for docker-stable SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12790-1 docker-20.10.23_ce-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1738 IBM InfoSphere Information Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2025
- ALAS2023-2023-143 Low: docker security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Mar 22, 2023
- ALAS2023-2023-079 Moderate: containerd security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
References
- https://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4
- https://github.com/moby/moby/commit/de7af816e76a7fd3fbf06bffa6832959289fba32
- https://github.com/moby/moby/releases/tag/v20.10.18
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O7JL2QA3RB732MLJ3RMUXB3IB7AA22YU
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQQ4E3JBXVR3VK5FIZVJ3QS2TAOOXXTQ
- https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation