Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-36109

MEDIUM 5.3EPSS 65%

Moby vulnerability relating to supplementary group permissions

Also known as GHSA-rc4r-wh2q-q6c4, GO-2022-0985

Mitigation

  • Upgrade github.com/docker/docker to one of 20.10.18, 20.10.18+incompatible (or later in the same release line).

Who should check

  • Projects that depend on Go package github.com/docker/docker (< 20.10.18)
  • Anyone running moby < 20.10.18

Vulnerability facts

Affected
github.com/docker/docker < 20.10.18
Fixed in
20.10.18, 20.10.18+incompatible
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
EPSS
1.09% chance of exploitation in 30 days (percentile 65, 2026-11-26)
CWE
CWE-863
Published
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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/docker/docker< 20.10.1820.10.18, 20.10.18+incompatibleosv
moby< 20.10.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-36109. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-36109.md
Affected: github.com/docker/docker < 20.10.18
Fixed in: 20.10.18, 20.10.18+incompatible

Steps:
1. Search this machine and project for github.com/docker/docker (Go), moby: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-36109 being exploited?

There is no confirmed exploitation: CVE-2022-36109 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.09% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-36109?

Medium: CVSS 5.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-36109?

github.com/docker/docker < 20.10.18.

Is there a fix for CVE-2022-36109?

Yes. Fixed in 20.10.18, 20.10.18+incompatible. Upgrade github.com/docker/docker to one of 20.10.18, 20.10.18+incompatible (or later in the same release line).

How do I check if I'm affected by CVE-2022-36109?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors