CVE-2022-36109Moby vulnerability relating to supplementary group permissions
- 5.3MediumCVSS base score
- 1.1%Exploitation in 30 daysEPSS · top 35% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 56 days later
· 56 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | Medium6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 1.1% · top 35% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/docker/dockerGHSA-rc4r-wh2q-q6c4 (opens in a new tab)
References
References8
- https://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/moby/moby/commit/de7af816e76a7fd3fbf06bffa6832959289fba32 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/moby/moby/releases/tag/v20.10.18 (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/O7JL2QA3RB732MLJ3RMUXB3IB7AA22YU (opens in a new tab)x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/RQQ4E3JBXVR3VK5FIZVJ3QS2TAOOXXTQ (opens in a new tab)x_refsource_MISC
- https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation (opens in a new tab)x_refsource_MISC
- FEDORA-2022-b027a13a39 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2022-8298607490 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-6933 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rc4r-wh2q-q6c4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-36109)Record last updated .