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.
CVSS Details
- CVSS 3.1 Base Score: 5.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-docker | Aug 22, 2024 | Sep 9, 2022 | |
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-dockeramazon-linux-ami-2-upgrade-docker-debuginfo | Apr 6, 2023 | Sep 9, 2022 | |
| Amazon_linux_2023 | amazon-linux-2023-upgrade-dockeramazon-linux-2023-upgrade-docker-debuginfoamazon-linux-2023-upgrade-docker-debugsource | Feb 17, 2025 | Sep 9, 2022 | |
| Debian | debian-upgrade-docker-io | Jul 30, 2024 | Sep 9, 2022 | |
| Dell Powerstore Dsa2023366 | dell-powerstoreos-upgrade-latest | Oct 23, 2025 | Oct 5, 2023 | |
| Gentoo Linux | gentoo-linux-upgrade-app-containers-docker | Sep 30, 2024 | Sep 9, 2022 | |
| Huawei Euleros 2_0_sp10 | huawei-euleros-2_0_sp10-upgrade-docker-engine | May 18, 2023 | Sep 9, 2022 | |
| Huawei Euleros 2_0_sp9 | huawei-euleros-2_0_sp9-upgrade-docker-engine | May 10, 2023 | Sep 9, 2022 | |
| Suse | — | suse-upgrade-dockersuse-upgrade-docker-bash-completionsuse-upgrade-docker-fish-completionsuse-upgrade-docker-zsh-completion | Mar 20, 2023 | Sep 9, 2022 |
| Ubuntu | ubuntu-upgrade-docker-io | Nov 19, 2024 | Sep 9, 2022 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub