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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-09-09 · Modified: 2025-04-23
- Aliases: SUSE-SU-2023:0795-1, SUSE-SU-2023:0795-2, SUSE-SU-2023:1625-1, UBUNTU-CVE-2022-36109, DEBIAN-CVE-2022-36109, GHSA-rc4r-wh2q-q6c4, GO-2022-0985, openSUSE-SU-2024:12790-1, ALPINE-CVE-2022-36109
- Record: https://cvemate.com/vulnerability/CVE-2022-36109 · JSON: https://cvemate.com/vulnerability/CVE-2022-36109/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- EPSS: 1.115%, percentile 67.147%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- alpine docker (Alpine Linux): \< 20.10.18-r0
- debian docker.io (Debian): \< 20.10.19+dfsg1-1
- ubuntu docker.io (Ubuntu): All versions (No fix recorded) \| \< 20.10.21-0ubuntu1~18.04.2 \| \< 20.10.21-0ubuntu1~20.04.1 \| \< 20.10.21-0ubuntu1~22.04.2
- fedoraproject fedora: 36 \| 37
- github.com/docker docker (Go): \< 20.10.18 \| \< 20.10.18+incompatible
- moby moby: \< 20.10.18
- mobyproject moby: \< 20.10.18
- opensuse docker&distro=openSUSE Leap 15.4 (openSUSE): \< 20.10.23\_ce-150000.175.1
- opensuse docker&distro=openSUSE Leap Micro 5.3 (openSUSE): \< 20.10.23\_ce-150000.175.1
- opensuse docker&distro=openSUSE Tumbleweed (openSUSE): \< 20.10.23\_ce-2.1
- suse docker&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 20.10.23\_ce-150000.175.1
- suse docker&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 20.10.23\_ce-150000.175.1
- suse docker&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 20.10.23\_ce-150000.175.1
- suse docker&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 20.10.23\_ce-150000.175.1
- suse docker&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS (SUSE Linux Enterprise): \< 20.10.23\_ce-150000.175.1
- suse docker&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 20.10.23\_ce-150000.175.1
- suse docker&distro=SUSE Linux Enterprise Micro 5.1 (SUSE Linux Enterprise): \< 20.10.23\_ce-150000.175.1
- suse docker&distro=SUSE Linux Enterprise Micro 5.2 (SUSE Linux Enterprise): \< 20.10.23\_ce-150000.175.1
- suse docker&distro=SUSE Linux Enterprise Micro 5.3 (SUSE Linux Enterprise): \< 20.10.23\_ce-150000.175.1
- suse docker&distro=SUSE Linux Enterprise Micro 5.4 (SUSE Linux Enterprise): \< 20.10.23\_ce-150000.175.1

## References (first 20 of 23)

- <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>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQQ4E3JBXVR3VK5FIZVJ3QS2TAOOXXTQ/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O7JL2QA3RB732MLJ3RMUXB3IB7AA22YU/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230795-1/>
- <https://bugzilla.suse.com/1205375>
- <https://bugzilla.suse.com/1206065>
- <https://www.suse.com/security/cve/CVE-2022-36109>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230795-2/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20231625-1/>
- <https://bugzilla.suse.com/1188447>
- <https://ubuntu.com/security/CVE-2022-36109>
- <https://www.cve.org/CVERecord?id=CVE-2022-36109>
- <https://security-tracker.debian.org/tracker/CVE-2022-36109>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36109>
- <https://github.com/moby/moby>

---

Data as of 2026-12-05T04:39:42.683Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
