Live threats

All CVEs / Linuxfoundation

CVE-2021-41190Linuxfoundation Open Container Initiative Distribution Specification

Medium 5.0

Priority
30
CVSS 3.1
5.0
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
Yes
Published
Nov 17, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-843
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Open Container Initiative Distribution Specification.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/opencontainers/distribution-spec < 1.0.1 1.0.1 go get github.com/opencontainers/distribution-spec@v1.0.1

Per OSV / GitHub Advisories (GHSA-mc8v-mgrf-8f4m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationopen_container_initiative_distribution_specification≤ 1.0.0
linuxfoundationopen_container_initiative_image_format_specification≤ 1.0.1
fedoraprojectfedora34
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.