Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2021-41190 (Medium) detected in github.com/opencontainers/Image-spec-v1.0.1, github.com/docker/distribution-v2.7.1+incompatible #45

Open
mend-bolt-for-github bot opened this issue Apr 29, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

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/genuinetools/reg-v0.16.1 (Root Library)
    • github.com/docker/distribution-v2.7.1+incompatible
      • github.com/opencontainers/Image-spec-v1.0.1 (Vulnerable Library)
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:

  • github.com/genuinetools/reg-v0.16.1 (Root Library)
    • github.com/docker/distribution-v2.7.1+incompatible (Vulnerable Library)

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:

  • 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: GHSA-qq97-vm5h-rrhg

Release Date: 2021-11-17

Fix Resolution: v2.8.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants