CVE-2022-36109 (Medium) detected in github.com/Docker/Docker-v20.10.7+incompatible - autoclosed #132
Labels
Mend: dependency security vulnerability
Security vulnerability detected by WhiteSource
CVE-2022-36109 - Medium Severity Vulnerability
Vulnerable Library - github.com/Docker/Docker-v20.10.7+incompatible
Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Library home page: https://proxy.golang.org/github.com/!docker/!docker/@v/v20.10.7+incompatible.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in HEAD commit: df1f7d3f67826e841793324e4796be4fbd91c00f
Found in base branch: main
Vulnerability Details
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 callingENTRYPOINT ["su", "-", "user"]
the supplementary groups will be set up properly.Publish Date: 2022-09-09
URL: CVE-2022-36109
CVSS 3 Score Details (6.3)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-rc4r-wh2q-q6c4
Release Date: 2022-09-09
Fix Resolution: v20.10.18
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: