Skip to content
Fencer Vulns
low 3.0

CVE-2021-41190 json

Clarify Content-Type handling in OCI spec

published 2021-11-17 4 y ago modified 2026-09-10 59 d ago also EUVD-2021-2367 , GHSA-mc8v-mgrf-8f4m , GHSA-xmmx-7jpf-fx42 , GO-2024-2914

cvss
3.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.2%
EPSS 2.2% chance of exploitation in 30 days, percentile 82%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/opencontainers/distribution-spec 1.0.1
  • go github.com/docker/docker 20.10.11, 20.10.11+incompatible
  • go github.com/moby/moby 20.10.11, 20.10.11+incompatible
  • containerd Ubuntu 18.04 LTS 1.5.9-0ubuntu1~18.04.1
  • containerd Ubuntu 20.04 LTS 1.5.9-0ubuntu1~20.04.4
  • containerd Ubuntu 22.04 LTS 1.5.9-0ubuntu1

ubuntu advisories UBUNTU-CVE-2021-41190

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • crit RHEL 8 3.15-3.module+el8.7.0+16772+33343656
  • criu RHEL 8 3.15-3.module+el8.7.0+16772+33343656
  • crun RHEL 8 1.5-1.module+el8.7.0+16772+33343656
  • runc RHEL 8 1:1.1.4-1.module+el8.7.0+16772+33343656
  • udica RHEL 8 0.2.6-3.module+el8.7.0+16772+33343656
  • conmon RHEL 8 3:2.1.4-1.module+el8.7.0+16772+33343656
  • podman RHEL 8 3:4.2.0-1.module+el8.7.0+16772+33343656
  • skopeo RHEL 8 2:1.9.2-1.module+el8.7.0+16772+33343656

red hat advisories RHSA-2022:7457RHSA-2022:0055

  • docker-stable SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +12 more 24.0.9_ce-150000.1.25.1
  • umoci SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +14 more 0.5.0-150000.3.15.1
  • podman SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +5 more 4.3.1-150300.9.15.1
  • podman SLE Module for Containers 15 SP4, SLE Micro 5.3, openSUSE Leap Micro 5.3 +1 more 4.3.1-150400.4.11.1
  • docker SLE Module for Containers 12 20.10.14_ce-98.80.1
  • containerd SLE Module for Containers 12 1.5.11-16.57.1
  • podman SLE Module for Containers 15 SP3, SLE Micro 5.1 3.4.4-150300.9.3.2
  • conmon SLE Module for Containers 15 SP3, SLE Micro 5.1 2.0.30-150300.8.3.1

suse advisories SUSE-SU-2025:03545-1SUSE-SU-2025:03540-1SUSE-SU-2025:02282-1SUSE-SU-2023:0326-1SUSE-SU-2023:0187-1SUSE-SU-2022:1507-1

  • docker-stable openSUSE Tumbleweed 24.0.9_ce-15.1
  • umoci openSUSE Tumbleweed 0.5.0-1.1
  • containerd openSUSE Tumbleweed 1.4.12-1.1
  • docker openSUSE Tumbleweed 20.10.11_ce-1.1
  • singularity openSUSE Tumbleweed 3.8.5-1.1
  • podman openSUSE Tumbleweed 3.4.4-1.1
  • podman openSUSE Leap 15.3 3.4.4-150300.9.3.2
  • conmon openSUSE Leap 15.3 2.0.30-150300.8.3.1

opensuse advisories openSUSE-SU-2025:15589-1openSUSE-SU-2025:15166-1openSUSE-SU-2024:11646-1openSUSE-SU-2024:11647-1openSUSE-SU-2024:11659-1openSUSE-SU-2024:11674-1

  • criu Rocky Linux 8 3.15-3.module+el8.7.0+1077+0e4f03d4
  • criu Rocky Linux 8 3.15-3.module+el8.5.0+710+4c471e88
  • criu Rocky Linux 8 3.15-3.module+el8.6.0+1054+50b00ff4
  • crun Rocky Linux 8 1.5-1.module+el8.7.0+1077+0e4f03d4
  • crun Rocky Linux 8 1.5-1.module+el8.6.0+1054+50b00ff4
  • runc Rocky Linux 8 1:1.1.4-1.module+el8.7.0+1077+0e4f03d4
  • udica Rocky Linux 8 0.2.6-3.module+el8.7.0+1077+0e4f03d4
  • udica Rocky Linux 8 0.2.6-3.module+el8.6.0+971+69b94baf

rocky linux advisories RLSA-2022:7457

  • docker Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 20.10.11-r0
  • podman Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 3.4.4-r0
  • skopeo Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 1.5.2-r0
  • containerd Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 1.5.8-r0
  • singularity Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 3.8.5-r0

alpine advisories ALPINE-CVE-2021-41190

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • buildah Azure Linux 3.0 1.41.4-2

azure linux advisories AZL-44865

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • containerd Arch Linux 1.5.8-1
  • docker Arch Linux 1:20.10.11-1
  • podman Arch Linux 3.4.4-1

arch linux advisories AVG-2573AVG-2574AVG-2591

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-41190 updated cvss 5.0

opencontainers: OCI manifest and index parsing confusion

  • Red Hat Enterprise Linux 8 podman, skopeo, buildah, podman-tests, skopeo-tests, buildah-tests, +7 more
    affected: no fix available, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 9 podman, buildah, podman-tests, buildah-tests, podman-docker, podman-remote, +3 more
    affected: no fix available
  • Red Hat OpenShift Container Platform 3.11 cri-o
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 podman, skopeo, podman-tests, skopeo-tests, podman-docker, podman-remote, +10 more
    affected: no fix available “Fix deferred”
  • Red Hat OpenShift Container Platform Assisted Installer 1 rhai-tech-preview/assisted-installer-rhel8, rhai-tech-preview/assisted-installer-agent-rhel8, rhai-tech-preview/assisted-installer-reporter-rhel8
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Virtualization 2 virt-cdi-importer-container
    affected: no fix available “Fix deferred”
  • Red Hat OpenShift Virtualization 4 container-native-virtualization/virt-cdi-importer
    affected: no fix available
  • Red Hat Quay 3 quay/quay-builder-rhel8
    affected: no fix available “Fix deferred”
show 7 more
  • Red Hat OpenShift API for Data Protection 1.0 oadp/oadp-registry-rhel8 1.0.1-3, oadp/oadp-velero-plugin-rhel8 1.0.1-5
    fixed: vendor fix RHSA-2022:0687
  • Red Hat Enterprise Linux AppStream (v. 8) crun 1.5-1.module+el8.7.0+16772+33343656, crit 3.15-3.module+el8.7.0+16772+33343656, criu 3.15-3.module+el8.7.0+16772+33343656, runc 1.1.4-1.module+el8.7.0+16772+33343656, udica 0.2.6-3.module+el8.7.0+16772+33343656, conmon 2.1.4-1.module+el8.7.0+16772+33343656, +27 more
    fixed: vendor fix RHSA-2022:7457
  • Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-controller-rhel8 v1.7.1-7
    fixed: vendor fix RHSA-2022:1734
  • Red Hat OpenShift Container Platform 4.10 cri-o 1.23.1-9.rhaos4.10.gitbdffb9a.el8, cri-o 1.23.0-92.rhaos4.10.gitdaab4d1.el7
    fixed: vendor fix RHSA-2022:0055
  • Red Hat OpenShift Container Platform 4.11 openshift4/ose-docker-builder v4.11.0-202208020235.p0.gb500d85.assembly.stream
    fixed: vendor fix RHSA-2022:5069
  • Red Hat RHACS 3.70 for RHEL 8 advanced-cluster-security/rhacs-docs-rhel8 3.70.0-2, advanced-cluster-security/rhacs-main-rhel8 3.70.0-9, advanced-cluster-security/rhacs-roxctl-rhel8 3.70.0-2, advanced-cluster-security/rhacs-rhel8-operator 3.70.0-2, advanced-cluster-security/rhacs-collector-rhel8 3.70.0-2
    fixed: vendor fix RHSA-2022:4880
  • Red Hat OpenShift API for Data Protection 1.0 oadp/oadp-velero-rhel8 1.0.1-5, oadp/oadp-rhel8-operator 1.0.1-6, oadp/oadp-mustgather-rhel8 1.0.1-7, oadp/oadp-operator-bundle 1.0.1-10, oadp/oadp-velero-plugin-for-aws-rhel8 1.0.1-4, oadp/oadp-velero-plugin-for-csi-rhel8 1.0.1-6, +4 more Red Hat Advanced Cluster Management for Kubernetes 2 moby, containerd, image-spec Red Hat Enterprise Linux 9 skopeo, skopeo-tests Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-ui-rhel8 v1.7.1-6, rhmtc/openshift-velero-plugin-rhel8 v1.7.1-4, rhmtc/openshift-migration-velero-rhel8 v1.7.1-3, rhmtc/openshift-migration-openvpn-rhel8 v1.7.1-4, rhmtc/openshift-migration-registry-rhel8 v1.7.1-4, rhmtc/openshift-migration-rhel8-operator v1.7.1-11, +9 more Red Hat OpenShift Container Platform 4 openshift, openshift-clients, openshift-kubelet, openshift-hyperkube, openshift-kube-apiserver, openshift-kube-scheduler, +2 more Red Hat OpenShift Container Platform 4.10 buildah 1.19.7-1.el8, haproxy 2.2.19-1.el8, cri-tools 1.23.0-1.el7, cri-tools 1.23.0-1.el8, python-pbr 5.5.1-1.el8ost, buildah-tests 1.19.7-1.el8, +163 more
    +2 more products
    Red Hat OpenShift Container Platform 4.11 openshift4/ose-cli v4.11.0-202208020706.p0.g7075089.assembly.stream, openshift4/ose-pod v4.11.0-202208020235.p0.g9546431.assembly.stream, openshift4/ose-etcd v4.11.0-202208020235.p0.g80cc14e.assembly.stream, openshift4/ose-tests v4.11.0-202208020706.p0.gb860532.assembly.stream, openshift4/ose-console v4.11.0-202208021257.p0.ge0d49a2.assembly.stream, openshift4/ose-coredns v4.11.0-202208020235.p0.g7fe212f.assembly.stream, +175 more Red Hat RHACS 3.70 for RHEL 8 advanced-cluster-security/rhacs-scanner-rhel8 3.70.0-2, advanced-cluster-security/rhacs-operator-bundle 3.70.0-4, advanced-cluster-security/rhacs-scanner-db-rhel8 3.70.0-2, advanced-cluster-security/rhacs-scanner-slim-rhel8 3.70.0-2, advanced-cluster-security/rhacs-collector-slim-rhel8 3.70.0-2, advanced-cluster-security/rhacs-scanner-db-slim-rhel8 3.70.0-2
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.22% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 3.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
GitHub 3.1 3.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
NVD 3.1 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:N/I:P/A:N

Affected packages

ecosystem package affected fixed in
go github.com/opencontainers/distribution-spec
<1.0.1
1.0.1
go github.com/docker/docker
<20.10.11
<20.10.11+incompatible
20.10.11
20.10.11+incompatible
go github.com/moby/moby
<20.10.11
<20.10.11+incompatible
20.10.11
20.10.11+incompatible

Affected products

  • opencontainers distribution-spec

Classification

Weakness
  • CWE-843 Access of Resource Using Incompatible Type
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of moby/moby published their own advisory on GitHub. Reviewed sources take precedence over it.