CVE-2021-41190 (Medium) detected in github.com/opencontainers/Image-spec-v1.0.1, github.com/docker/distribution-v2.7.1+incompatible #45
Labels
Mend: dependency security vulnerability
Security vulnerability detected by WhiteSource
CVE-2021-41190 - Medium Severity Vulnerability
Vulnerable Libraries - github.com/opencontainers/Image-spec-v1.0.1, github.com/docker/distribution-v2.7.1+incompatible
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
Dependency Hierarchy:
github.com/docker/distribution-v2.7.1+incompatible
The Docker toolset to pack, ship, store, and deliver content
Library home page: https://proxy.golang.org/github.com/docker/distribution/@v/v2.7.1+incompatible.zip
Dependency Hierarchy:
Found in HEAD commit: 2d8758c5c6af81f1b5149d3ef236b7f962895dbe
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 (5.0)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-qq97-vm5h-rrhg
Release Date: 2021-11-17
Fix Resolution: v2.8.0
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: