CVE-2022-36109

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.

Severity
MEDIUM
CVSS v3
5.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L · source cna
Exploit chance (EPSS)
1.054%
chance of exploitation in the next 30 days
higher than 64.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2025-04-23

Timeline

  1. 2022-09-09Published by the CNA17:20 UTC
  2. 2022-09-16GitHub advisory published (GHSA-rc4r-wh2q-q6c4)7 days after publication
  3. 2025-04-23CISA SSVC decision recorded957 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-rc4r-wh2q-q6c4, affected packages:

PackageVulnerable versionsFixed in
Go github.com/docker/dockerbefore 20.10.1820.10.18

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
mobyproject mobybefore 20.10.18fixed in 20.10.1820.10.18
fedoraproject fedora36no fix listed37no fix listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources