cve.bz

CVE-2021-41190 Type Confusion

5.0 mediumEPSS 2.2%Fix available

Medium (5.0). EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/opencontainers/distribution-spec 1.0.1.

On this page
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.

Severity

CVSS 3.1

5.0 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
EPSS
2.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-843 Access of Resource Using Incompatible Type (Type Confusion)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-41190 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41190?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41190?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-41190 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:open_container_initiative_distribution_specificationthrough 1.0.0
linuxfoundation:open_container_initiative_image_format_specificationthrough 1.0.1
fedoraproject:fedora34
fedoraproject:fedora35

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mc8v-mgrf-8f4mGogithub.com/opencontainers/distribution-spec<1.0.11.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTScontainerd1.5.9-0ubuntu1~18.04.1UBUNTU-CVE-2021-41190
Ubuntu20.04:LTScontainerd1.5.9-0ubuntu1~20.04.4UBUNTU-CVE-2021-41190
Ubuntu22.04:LTScontainerd1.5.9-0ubuntu1UBUNTU-CVE-2021-41190
UbuntuPro:16.04:LTSdocker.io, containerdno fix listedUBUNTU-CVE-2021-41190
UbuntuPro:18.04:LTSdocker.iono fix listedUBUNTU-CVE-2021-41190
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.1.0-4.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.27.0-2.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcockpit-podman0:53-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.4-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.189.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.1.1-3.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-40.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.15-3.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.5-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.9-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamlibslirp, libslirp-devel, libslirp-debuginfo and 1 more0:4.4.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamnetavark2:1.1.0-6.module+el8.7.0+16772+33343656RHSA-2022:7457
17 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morepodman4.3.1-150300.9.15.1SUSE-SU-2023:0326-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 moreumoci0.5.0-150000.3.15.1SUSE-SU-2025:02282-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moredocker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3containerd1.4.12-60.1SUSE-SU-2022:0334-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3docker20.10.12_ce-159.1SUSE-SU-2022:0334-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3libcontainers-common20210626-150300.8.3.1SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3libseccomp2.5.3-150300.10.5.1SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3conmon2.0.30-150300.8.3.1SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3podman3.4.4-150300.9.3.2SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Module for Containers 15 SP4podman4.3.1-150400.4.11.1SUSE-SU-2023:0187-1
SUSELinux Enterprise Module for Containers 12containerd1.4.12-16.49.1SUSE-SU-2022:0213-1
SUSELinux Enterprise Module for Containers 12containerd1.5.11-16.57.1SUSE-SU-2022:1507-1
4 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3conmon2.0.30-150300.8.3.1openSUSE-SU-2022:23018-1
openSUSELeap 15.3containerd1.4.12-60.1openSUSE-SU-2022:0334-1
openSUSELeap 15.3docker, docker-kubic20.10.12_ce-159.1openSUSE-SU-2022:0334-1
openSUSELeap 15.3libcontainers-common20210626-150300.8.3.1openSUSE-SU-2022:23018-1
openSUSELeap 15.3libseccomp2.5.3-150300.10.5.1openSUSE-SU-2022:23018-1
openSUSELeap 15.3podman3.4.4-150300.9.3.2openSUSE-SU-2022:23018-1
openSUSELeap 15.3singularity3.8.5-bp153.2.10.1openSUSE-SU-2021:1525-1
openSUSELeap 15.4, Leap Micro 5.3podman4.3.1-150400.4.11.1SUSE-SU-2023:0187-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
openSUSELeap 15.6umoci0.5.0-150000.3.15.1SUSE-SU-2025:02282-1
openSUSELeap Micro 5.2podman4.3.1-150300.9.15.1SUSE-SU-2023:0326-1
openSUSETumbleweedcontainerd1.4.12-1.1openSUSE-SU-2024:11646-1
5 more for openSUSE in the JSON and on openSUSE's page.
Rocky Linux8cockpit-podman0:53-1.module+el8.7.0+1078+e72fcd4fRLSA-2022:7457
Rocky Linux8conmon2:2.1.4-1.module+el8.7.0+1077+0e4f03d4RLSA-2022:7457
Rocky Linux8container-selinux2:2.189.0-1.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
Rocky Linux8container-selinux2:2.189.0-1.module+el8.7.0+1076+9b1c11c1RLSA-2022:7457
Rocky Linux8containernetworking-plugins1:1.1.1-3.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
Rocky Linux8containernetworking-plugins1:1.1.1-3.module+el8.7.0+1078+e72fcd4fRLSA-2022:7457
Rocky Linux8criu0:3.15-3.module+el8.5.0+710+4c471e88RLSA-2022:7457
Rocky Linux8criu0:3.15-3.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
Rocky Linux8criu0:3.15-3.module+el8.7.0+1077+0e4f03d4RLSA-2022:7457
Rocky Linux8crun0:1.5-1.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
Rocky Linux8crun0:1.5-1.module+el8.7.0+1077+0e4f03d4RLSA-2022:7457
Rocky Linux8fuse-overlayfs0:1.9-1.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
13 more for Rocky Linux in the JSON.
Alpinev3.14, v3.15, v3.16 and 8 morecontainerd1.5.8-r0ALPINE-CVE-2021-41190
Alpinev3.14, v3.15, v3.16 and 8 moredocker20.10.11-r0ALPINE-CVE-2021-41190
Alpinev3.15, v3.16, v3.17 and 7 morepodman3.4.4-r0ALPINE-CVE-2021-41190
Alpinev3.15, v3.16, v3.17 and 7 moreskopeo1.5.2-r0ALPINE-CVE-2021-41190
Alpinev3.19, v3.20, v3.21 and 3 moresingularity3.8.5-r0ALPINE-CVE-2021-41190
Azure Linux3buildah1.41.4-2AZL-44865
Azure Linux3umocino fix listedAZL-44925

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

As a consequence of the OCI Image Specification (and OCI Distribution Specification [1]), container runtime engines (like containerd, moby - Docker Engine, cri-o) deliver updates to adopt new `mediaType` field used for identification of the document type. Even though some Red Hat products rely on container engine, the impact by this issue is LOW.

[1] https://github.com/opencontainers/distribution-spec/security/advisories/GHSA-mc8v-mgrf-8f4m

ProductPackageStateAdvisory
OADP-1.0-RHEL-8oadp/oadp-registry-rhel8:1.0.1-3Fixed 2022-02-28RHSA-2022:0687
OADP-1.0-RHEL-8oadp/oadp-velero-plugin-rhel8:1.0.1-5Fixed 2022-02-28RHSA-2022:0687
Red Hat Enterprise Linux 8container-tools:rhel8-8070020220929222448.39077419Fixed 2022-11-08RHSA-2022:7457
Red Hat Migration Toolkit for Containers 1.7rhmtc/openshift-migration-controller-rhel8:v1.7.1-7Fixed 2022-05-05RHSA-2022:1734
Red Hat OpenShift Container Platform 4.10cri-o-0:1.23.0-92.rhaos4.10.gitdaab4d1.el7Fixed 2022-03-10RHSA-2022:0055
Red Hat OpenShift Container Platform 4.11openshift4/ose-docker-builder:v4.11.0-202208020235.p0.gb500d85.assembly.streamFixed 2022-08-10RHSA-2022:5069
RHACS-3.70-RHEL-8advanced-cluster-security/rhacs-collector-rhel8:3.70.0-2Fixed 2022-06-02RHSA-2022:4880
RHACS-3.70-RHEL-8advanced-cluster-security/rhacs-docs-rhel8:3.70.0-2Fixed 2022-06-02RHSA-2022:4880
RHACS-3.70-RHEL-8advanced-cluster-security/rhacs-main-rhel8:3.70.0-9Fixed 2022-06-02RHSA-2022:4880
RHACS-3.70-RHEL-8advanced-cluster-security/rhacs-rhel8-operator:3.70.0-2Fixed 2022-06-02RHSA-2022:4880
Red Hat Advanced Cluster Management for Kubernetes 2containerdNot affected
Red Hat Advanced Cluster Management for Kubernetes 2image-specNot affected
Red Hat Advanced Cluster Management for Kubernetes 2mobyNot affected
Red Hat Enterprise Linux 8container-tools:2.0/buildahOut of support scope
Red Hat Enterprise Linux 8container-tools:2.0/podmanOut of support scope
Red Hat Enterprise Linux 8container-tools:2.0/skopeoOut of support scope
Red Hat Enterprise Linux 8container-tools:3.0/buildahFix deferred
Red Hat Enterprise Linux 8container-tools:3.0/podmanFix deferred
Red Hat Enterprise Linux 8container-tools:3.0/skopeoFix deferred
Red Hat Enterprise Linux 9buildahAffected
18 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-41190.

References

Check your stackJSON