CVE-2022-36109 (Medium) detected in github.com/docker/docker-v20.10.17+incompatible - autoclosed
Closed this issue · 1 comments
CVE-2022-36109 - Medium Severity Vulnerability
Vulnerable Library - github.com/docker/docker-v20.10.17+incompatible
Library home page: https://proxy.golang.org/github.com/docker/docker/@v/v20.10.17+incompatible.zip
Dependency Hierarchy:
- github.com/gruntwork-io/terratest-v0.40.17 (Root Library)
- github.com/google/go-containerregistry-v0.9.0
- github.com/docker/cli-v20.10.17+incompatible
- ❌ github.com/docker/docker-v20.10.17+incompatible (Vulnerable Library)
- github.com/docker/cli-v20.10.17+incompatible
- github.com/google/go-containerregistry-v0.9.0
Found in HEAD commit: 2914fa084ecd9aa53a35893c1257afce94fb4df3
Found in base branch: master
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 calling ENTRYPOINT ["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:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
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
✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.