{"cve":"CVE-2022-36109","nvd":{"published":"2022-09-09T18:15:10.540","modified":"2026-06-17T04:52:56.423","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3},"cwes":["CWE-863"],"references":["https://github.com/moby/moby/commit/de7af816e76a7fd3fbf06bffa6832959289fba32","https://github.com/moby/moby/releases/tag/v20.10.18","https://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4","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"],"products":["fedoraproject:fedora","mobyproject:moby"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-36109","score":0.01042,"percentile":0.64076,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rc4r-wh2q-q6c4","url":"https://osv.dev/vulnerability/GHSA-rc4r-wh2q-q6c4","summary":"Docker supplementary group permissions not set up properly, allowing attackers to bypass primary group restrictions","modified":"2026-02-04T03:19:55.300995Z","packages":[{"ecosystem":"Go","name":"github.com/docker/docker","purl":"pkg:golang/github.com/docker/docker","ranges":["<20.10.18"],"fixed":["20.10.18"]}]},{"id":"GO-2022-0985","url":"https://osv.dev/vulnerability/GO-2022-0985","summary":"Docker supplementary group permissions not set up properly, allowing attackers to bypass primary group restrictions in github.com/docker/docker","modified":"2026-03-03T04:52:33.878220Z","packages":[{"ecosystem":"Go","name":"github.com/docker/docker","purl":"pkg:golang/github.com/docker/docker","ranges":["<20.10.18+incompatible"],"fixed":["20.10.18+incompatible"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}