vipinsun / minifabric

Do fabric network the right and easy way.
Apache License 2.0
0 stars 0 forks source link

CVE-2022-36109 (Medium) detected in github.com/docker/dockeR-v20.10.8+incompatible - autoclosed #139

Closed mend-bolt-for-github[bot] closed 2 months ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2022-36109 - Medium Severity Vulnerability

Vulnerable Library - github.com/docker/dockeR-v20.10.8+incompatible

Library home page: https://proxy.golang.org/github.com/docker/docke!r/@v/v20.10.8+incompatible.zip

Path to dependency file: /chaincode/cmcc/go/go.mod

Path to vulnerable library: /chaincode/cmcc/go/go.mod

Dependency Hierarchy: - github.com/hyperledger/fabric-v1.4.1 (Root Library) - github.com/fsouza/go-dockerclient-v1.7.3 - :x: **github.com/docker/dockeR-v20.10.8+incompatible** (Vulnerable Library)

Found in HEAD commit: 655167764fcdebd1047d2f63249a7596884c4b03

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 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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/moby/moby/security/advisories/GHSA-rc4r-wh2q-q6c4

Release Date: 2022-09-09

Fix Resolution: v20.10.18


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 2 months ago

:heavy_check_mark: 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.