Open mend-bolt-for-github[bot] opened 2 years 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.
:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.
CVE-2021-41190 - Low Severity Vulnerability
Vulnerable Libraries - github.com/opencontainers/image-Spec-v1.0.1, github.com/docker/distribution-v2.7.1
github.com/opencontainers/image-Spec-v1.0.1
OCI Image Format
Library home page: https://proxy.golang.org/github.com/opencontainers/image-!spec/@v/v1.0.1.zip
Path to dependency file: /chaincode/cmcc/go/go.mod
Path to vulnerable library: /chaincode/cmcc/go/go.mod,/chaincode/simple/go/go.mod,/chaincode/samplecc/go/go.mod
Dependency Hierarchy: - github.com/hyperledger/fabric-v1.4.1 (Root Library) - github.com/fsouza/go-dockerclient-v1.6.5 - github.com/docker/docker-v1.4.2-0.20191101170500-ac7306503d23 - :x: **github.com/opencontainers/image-Spec-v1.0.1** (Vulnerable Library)
github.com/docker/distribution-v2.7.1
The toolkit to pack, ship, store, and deliver container content
Library home page: https://proxy.golang.org/github.com/docker/distribution/@v/v2.7.1+incompatible.zip
Path to dependency file: /chaincode/simple/go/go.mod
Path to vulnerable library: /chaincode/simple/go/go.mod,/chaincode/samplecc/go/go.mod
Dependency Hierarchy: - github.com/hyperledger/fabric-v1.4.1 (Root Library) - github.com/fsouza/go-dockerclient-v1.6.5 - github.com/docker/docker-v1.4.2-0.20191101170500-ac7306503d23 - :x: **github.com/docker/distribution-v2.7.1** (Vulnerable Library)
Found in HEAD commit: 06b558f81526c46dc0f6c8241331ca0eb82a7307
Found in base branch: main
Vulnerability Details
The OCI Distribution Spec project defines an API protocol to facilitate and standardize the distribution of content. In the OCI Distribution Specification version 1.0.0 and prior, the Content-Type header alone was used to determine the type of document during push and pull operations. Documents that contain both “manifests” and “layers” fields could be interpreted as either a manifest or an index in the absence of an accompanying Content-Type header. If a Content-Type header changed between two pulls of the same digest, a client may interpret the resulting content differently. The OCI Distribution Specification has been updated to require that a mediaType value present in a manifest or index match the Content-Type header used during the push and pull operations. Clients pulling from a registry may distrust the Content-Type header and reject an ambiguous document that contains both “manifests” and “layers” fields or “manifests” and “config” fields if they are unable to update to version 1.0.1 of the spec.
Publish Date: 2021-11-17
URL: CVE-2021-41190
CVSS 3 Score Details (3.0)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: Low - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/distribution/distribution/security/advisories/GHSA-qq97-vm5h-rrhg
Release Date: 2021-11-17
Fix Resolution: v2.8.0
Step up your Open Source Security Game with Mend here