CVEfocus › CVE database › CVE-2021-41190

CVE-2021-41190Clarify Content-Type handling in OCI spec

CVSS 3.0 LowEPSS 2.2% (higher than 83% of CVEs)Published 2021-11-17Updated 2024-08-04Assigner: GitHub_M

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.

CWE-843

What to do

Fixed builds are available from Alpine, Go, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

102Fixed
14Fix pending
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04docker.ioNot affected
vulnerable_code_not_present
Ubuntu 25.10docker-registryNot affected
vulnerable_code_not_present
Ubuntu 25.10docker.ioNot affected
vulnerable_code_not_present
Ubuntu 24.04docker-registryNot affected
vulnerable_code_not_present
Ubuntu 22.04containerdFixed1.5.9-0ubuntu1UBUNTU-CVE-2021-41190
Ubuntu 20.04containerdFixed1.5.9-0ubuntu1~20.04.4UBUNTU-CVE-2021-41190
Ubuntu 20.04docker-registryNot affected
vulnerable_code_not_present
Ubuntu 18.04containerdFixed1.5.9-0ubuntu1~18.04.1UBUNTU-CVE-2021-41190
Ubuntu 18.04docker.ioFix pendingUBUNTU-CVE-2021-41190
Ubuntu 16.04containerdFix pendingUBUNTU-CVE-2021-41190
Ubuntu 16.04docker-registryFix pending
Ubuntu 16.04docker.ioFix pendingUBUNTU-CVE-2021-41190
Red Hat Enterprise Linux 9buildahFix pending
Affected
Red Hat Enterprise Linux 9buildah-testsFix pending
Affected
Red Hat Enterprise Linux 9podmanFix pending
Affected
Red Hat Enterprise Linux 9podman-catatonitFix pending
Affected
Red Hat Enterprise Linux 9podman-dockerFix pending
Affected
Red Hat Enterprise Linux 9podman-gvproxyFix pending
Affected
Red Hat Enterprise Linux 9podman-pluginsFix pending
Affected
Red Hat Enterprise Linux 9podman-remoteFix pending
Affected
Red Hat Enterprise Linux 9podman-testsFix pending
Affected
Red Hat Enterprise Linux 9skopeoNot affected
Red Hat Enterprise Linux 9skopeo-testsNot affected
Red Hat Enterprise Linux 8aardvark-dnsFixed2:1.1.0-4.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8buildahFixed
Fix deferred
1:1.27.0-2.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8buildah-testsFixed
Fix deferred
1:1.27.0-2.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8cockpit-podmanFixed0:53-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8conmonFixed3:2.1.4-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8container-selinuxFixed2:2.189.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8containernetworking-pluginsFixed1:1.1.1-3.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8containers-commonFixed
Fix deferred
2:1-40.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8critFixed0:3.15-3.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8criuFixed0:3.15-3.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8criu-develFixed0:3.15-3.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8criu-libsFixed0:3.15-3.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8crunFixed0:1.5-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:1.9-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8libslirpFixed0:4.4.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8libslirp-develFixed0:4.4.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8netavarkFixed2:1.1.0-6.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFixed0:1.2.6-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8podmanFixed
Fix deferred
3:4.2.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8podman-catatonitFixed
Fix deferred
3:4.2.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8podman-dockerFixed
Fix deferred
3:4.2.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8podman-gvproxyFixed
Fix deferred
3:4.2.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8podman-manpagesFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-pluginsFixed
Fix deferred
3:4.2.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8podman-remoteFixed
Fix deferred
3:4.2.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8podman-testsFixed
Fix deferred
3:4.2.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8python-podmanFixed0:4.2.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8python3-criuFixed0:3.15-3.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8python3-podmanFixed0:4.2.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8runcFixed1:1.1.4-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8skopeoFixed
Fix deferred
2:1.9.2-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8skopeo-testsFixed
Fix deferred
2:1.9.2-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8slirp4netnsFixed0:1.2.0-2.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8toolboxFixed0:0.0.99.3-0.6.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8toolbox-testsFixed0:0.0.99.3-0.6.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hat Enterprise Linux 8udicaFixed0:0.2.6-3.module+el8.7.0+16772+33343656RHSA-2022:7457
Rocky Linux 8cockpit-podmanFixed0:53-1.module+el8.7.0+1078+e72fcd4fRLSA-2022:7457
Rocky Linux 8conmonFixed2:2.1.4-1.module+el8.7.0+1077+0e4f03d4RLSA-2022:7457
Rocky Linux 8container-selinuxFixed2:2.189.0-1.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
Rocky Linux 8containernetworking-pluginsFixed1:1.1.1-3.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
Rocky Linux 8criuFixed0:3.15-3.module+el8.7.0+1077+0e4f03d4RLSA-2022:7457
Rocky Linux 8crunFixed0:1.5-1.module+el8.7.0+1077+0e4f03d4RLSA-2022:7457
Rocky Linux 8fuse-overlayfsFixed0:1.9-1.module+el8.7.0+1077+0e4f03d4RLSA-2022:7457
Rocky Linux 8libslirpFixed0:4.4.0-1.module+el8.5.0+710+4c471e88RLSA-2022:7457
Rocky Linux 8oci-seccomp-bpf-hookFixed0:1.2.6-1.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
Rocky Linux 8runcFixed1:1.1.4-1.module+el8.7.0+1077+0e4f03d4RLSA-2022:7457
Rocky Linux 8slirp4netnsFixed0:1.2.0-2.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
Rocky Linux 8toolboxFixed0:0.0.99.3-0.6.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
Rocky Linux 8udicaFixed0:0.2.6-3.module+el8.7.0+1077+0e4f03d4RLSA-2022:7457
Alpine Linux 3.24containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.24dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Alpine Linux 3.24podmanFixed3.4.4-r0ALPINE-CVE-2021-41190
Alpine Linux 3.24singularityFixed3.8.5-r0ALPINE-CVE-2021-41190
Alpine Linux 3.24skopeoFixed1.5.2-r0ALPINE-CVE-2021-41190
Alpine Linux 3.23containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.23dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Alpine Linux 3.23podmanFixed3.4.4-r0ALPINE-CVE-2021-41190
Alpine Linux 3.23singularityFixed3.8.5-r0ALPINE-CVE-2021-41190
Alpine Linux 3.23skopeoFixed1.5.2-r0ALPINE-CVE-2021-41190
Alpine Linux 3.22containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.22dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Alpine Linux 3.22podmanFixed3.4.4-r0ALPINE-CVE-2021-41190
Alpine Linux 3.22singularityFixed3.8.5-r0ALPINE-CVE-2021-41190
Alpine Linux 3.22skopeoFixed1.5.2-r0ALPINE-CVE-2021-41190
Alpine Linux 3.21containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.21dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Alpine Linux 3.21podmanFixed3.4.4-r0ALPINE-CVE-2021-41190
Alpine Linux 3.21singularityFixed3.8.5-r0ALPINE-CVE-2021-41190
Alpine Linux 3.21skopeoFixed1.5.2-r0ALPINE-CVE-2021-41190
Alpine Linux 3.20containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.20dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Alpine Linux 3.20podmanFixed3.4.4-r0ALPINE-CVE-2021-41190
Alpine Linux 3.20singularityFixed3.8.5-r0ALPINE-CVE-2021-41190
Alpine Linux 3.20skopeoFixed1.5.2-r0ALPINE-CVE-2021-41190
Alpine Linux 3.19containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.19dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Alpine Linux 3.19podmanFixed3.4.4-r0ALPINE-CVE-2021-41190
Alpine Linux 3.19singularityFixed3.8.5-r0ALPINE-CVE-2021-41190
Alpine Linux 3.19skopeoFixed1.5.2-r0ALPINE-CVE-2021-41190
Alpine Linux 3.18containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.18dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Alpine Linux 3.18podmanFixed3.4.4-r0ALPINE-CVE-2021-41190
Alpine Linux 3.18skopeoFixed1.5.2-r0ALPINE-CVE-2021-41190
Alpine Linux 3.17containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.17dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Alpine Linux 3.17podmanFixed3.4.4-r0ALPINE-CVE-2021-41190
Alpine Linux 3.17skopeoFixed1.5.2-r0ALPINE-CVE-2021-41190
Alpine Linux 3.16containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.16dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Alpine Linux 3.16podmanFixed3.4.4-r0ALPINE-CVE-2021-41190
Alpine Linux 3.16skopeoFixed1.5.2-r0ALPINE-CVE-2021-41190
Alpine Linux 3.15containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.15dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Alpine Linux 3.15podmanFixed3.4.4-r0ALPINE-CVE-2021-41190
Alpine Linux 3.15skopeoFixed1.5.2-r0ALPINE-CVE-2021-41190
Alpine Linux 3.14containerdFixed1.5.8-r0ALPINE-CVE-2021-41190
Alpine Linux 3.14dockerFixed20.10.11-r0ALPINE-CVE-2021-41190
Go librarygithub.com/docker/dockerFixed20.10.11+incompatibleGO-2024-2914
Go librarygithub.com/moby/mobyFixed20.10.11+incompatibleGO-2024-2914
Go librarygithub.com/opencontainers/distribution-specFixed1.0.1GHSA-mc8v-mgrf-8f4m

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.