ilan-WS / prudence-fork

Fork of Prudence
Apache License 2.0
0 stars 0 forks source link

CVE-2021-41190 (Medium) detected in github.com/opencontainers/image-spec/specs-go/v1-450f12ccba13c57b528d1b534404e515089f3420 - autoclosed #26

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2021-41190 - Medium Severity Vulnerability

Vulnerable Library - github.com/opencontainers/image-spec/specs-go/v1-450f12ccba13c57b528d1b534404e515089f3420

OCI Image Format

Dependency Hierarchy: - github.com/tliron/prudence/js (Root Library) - github.com/tliron/prudence/platform - github.com/tliron/kutil/js - github.com/tliron/kutil/url - github.com/google/go-containerregistry/pkg/v1/remote-591f202f6ffc45109b01f04b67ea08ee19fb3bf1 - github.com/google/go-containerregistry/pkg/v1-591f202f6ffc45109b01f04b67ea08ee19fb3bf1 - github.com/google/go-containerregistry/pkg/v1/partial-591f202f6ffc45109b01f04b67ea08ee19fb3bf1 - github.com/google/go-containerregistry/pkg/v1/match-591f202f6ffc45109b01f04b67ea08ee19fb3bf1 - :x: **github.com/opencontainers/image-spec/specs-go/v1-450f12ccba13c57b528d1b534404e515089f3420** (Vulnerable Library)

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: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - 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

mend-for-github-com[bot] commented 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.