Live threats

All CVEs / Mobyproject

CVE-2022-36109Mobyproject Moby

Medium 6.3

Priority
38
CVSS 3.1
6.3
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
Yes
Published
Sep 9, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moby.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/docker/docker < 20.10.18 20.10.18 go get github.com/docker/docker@v20.10.18
Go github.com/docker/docker < 20.10.18+incompatible 20.10.18+incompatible go get github.com/docker/docker@v20.10.18+incompatible

Per OSV / GitHub Advisories (GHSA-rc4r-wh2q-q6c4, GO-2022-0985). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mobyprojectmoby< 20.10.18
fedoraprojectfedora36
fedoraprojectfedora37

Official sources

References

Links published by the sources. Open them with care.