CVE-2021-41190Clarify Content-Type handling in OCI spec
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | docker.io | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | docker-registry | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | docker.io | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | docker-registry | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | containerd | Fixed | 1.5.9-0ubuntu1 | UBUNTU-CVE-2021-41190 |
| Ubuntu 20.04 | containerd | Fixed | 1.5.9-0ubuntu1~20.04.4 | UBUNTU-CVE-2021-41190 |
| Ubuntu 20.04 | docker-registry | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | containerd | Fixed | 1.5.9-0ubuntu1~18.04.1 | UBUNTU-CVE-2021-41190 |
| Ubuntu 18.04 | docker.io | Fix pending | UBUNTU-CVE-2021-41190 | |
| Ubuntu 16.04 | containerd | Fix pending | UBUNTU-CVE-2021-41190 | |
| Ubuntu 16.04 | docker-registry | Fix pending | ||
| Ubuntu 16.04 | docker.io | Fix pending | UBUNTU-CVE-2021-41190 | |
| Red Hat Enterprise Linux 9 | buildah | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | buildah-tests | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | podman | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | podman-catatonit | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | podman-docker | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | podman-gvproxy | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | podman-plugins | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | podman-remote | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | podman-tests | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | skopeo | Not affected | ||
| Red Hat Enterprise Linux 9 | skopeo-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | aardvark-dns | Fixed | 2:1.1.0-4.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | buildah | Fixed Fix deferred | 1:1.27.0-2.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | buildah-tests | Fixed Fix deferred | 1:1.27.0-2.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | cockpit-podman | Fixed | 0:53-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | conmon | Fixed | 3:2.1.4-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | container-selinux | Fixed | 2:2.189.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fixed | 1:1.1.1-3.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | containers-common | Fixed Fix deferred | 2:1-40.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | crit | Fixed | 0:3.15-3.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | criu | Fixed | 0:3.15-3.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | criu-devel | Fixed | 0:3.15-3.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | criu-libs | Fixed | 0:3.15-3.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | crun | Fixed | 0:1.5-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | fuse-overlayfs | Fixed | 0:1.9-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | libslirp | Fixed | 0:4.4.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | libslirp-devel | Fixed | 0:4.4.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | netavark | Fixed | 2:1.1.0-6.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.6-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | podman | Fixed Fix deferred | 3:4.2.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | podman-catatonit | Fixed Fix deferred | 3:4.2.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | podman-docker | Fixed Fix deferred | 3:4.2.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fixed Fix deferred | 3:4.2.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | podman-manpages | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Fixed Fix deferred | 3:4.2.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | podman-remote | Fixed Fix deferred | 3:4.2.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | podman-tests | Fixed Fix deferred | 3:4.2.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | python-podman | Fixed | 0:4.2.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | python3-criu | Fixed | 0:3.15-3.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | python3-podman | Fixed | 0:4.2.0-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | runc | Fixed | 1:1.1.4-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | skopeo | Fixed Fix deferred | 2:1.9.2-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | skopeo-tests | Fixed Fix deferred | 2:1.9.2-1.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | slirp4netns | Fixed | 0:1.2.0-2.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | toolbox | Fixed | 0:0.0.99.3-0.6.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | toolbox-tests | Fixed | 0:0.0.99.3-0.6.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Red Hat Enterprise Linux 8 | udica | Fixed | 0:0.2.6-3.module+el8.7.0+16772+33343656 | RHSA-2022:7457 |
| Rocky Linux 8 | cockpit-podman | Fixed | 0:53-1.module+el8.7.0+1078+e72fcd4f | RLSA-2022:7457 |
| Rocky Linux 8 | conmon | Fixed | 2:2.1.4-1.module+el8.7.0+1077+0e4f03d4 | RLSA-2022:7457 |
| Rocky Linux 8 | container-selinux | Fixed | 2:2.189.0-1.module+el8.6.0+1054+50b00ff4 | RLSA-2022:7457 |
| Rocky Linux 8 | containernetworking-plugins | Fixed | 1:1.1.1-3.module+el8.6.0+1054+50b00ff4 | RLSA-2022:7457 |
| Rocky Linux 8 | criu | Fixed | 0:3.15-3.module+el8.7.0+1077+0e4f03d4 | RLSA-2022:7457 |
| Rocky Linux 8 | crun | Fixed | 0:1.5-1.module+el8.7.0+1077+0e4f03d4 | RLSA-2022:7457 |
| Rocky Linux 8 | fuse-overlayfs | Fixed | 0:1.9-1.module+el8.7.0+1077+0e4f03d4 | RLSA-2022:7457 |
| Rocky Linux 8 | libslirp | Fixed | 0:4.4.0-1.module+el8.5.0+710+4c471e88 | RLSA-2022:7457 |
| Rocky Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.6-1.module+el8.6.0+1054+50b00ff4 | RLSA-2022:7457 |
| Rocky Linux 8 | runc | Fixed | 1:1.1.4-1.module+el8.7.0+1077+0e4f03d4 | RLSA-2022:7457 |
| Rocky Linux 8 | slirp4netns | Fixed | 0:1.2.0-2.module+el8.6.0+1054+50b00ff4 | RLSA-2022:7457 |
| Rocky Linux 8 | toolbox | Fixed | 0:0.0.99.3-0.6.module+el8.6.0+1054+50b00ff4 | RLSA-2022:7457 |
| Rocky Linux 8 | udica | Fixed | 0:0.2.6-3.module+el8.7.0+1077+0e4f03d4 | RLSA-2022:7457 |
| Alpine Linux 3.24 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.24 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.24 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.24 | singularity | Fixed | 3.8.5-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.24 | skopeo | Fixed | 1.5.2-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.23 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.23 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.23 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.23 | singularity | Fixed | 3.8.5-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.23 | skopeo | Fixed | 1.5.2-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.22 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.22 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.22 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.22 | singularity | Fixed | 3.8.5-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.22 | skopeo | Fixed | 1.5.2-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.21 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.21 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.21 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.21 | singularity | Fixed | 3.8.5-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.21 | skopeo | Fixed | 1.5.2-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.20 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.20 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.20 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.20 | singularity | Fixed | 3.8.5-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.20 | skopeo | Fixed | 1.5.2-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.19 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.19 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.19 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.19 | singularity | Fixed | 3.8.5-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.19 | skopeo | Fixed | 1.5.2-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.18 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.18 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.18 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.18 | skopeo | Fixed | 1.5.2-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.17 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.17 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.17 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.17 | skopeo | Fixed | 1.5.2-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.16 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.16 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.16 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.16 | skopeo | Fixed | 1.5.2-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.15 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.15 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.15 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.15 | skopeo | Fixed | 1.5.2-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.14 | containerd | Fixed | 1.5.8-r0 | ALPINE-CVE-2021-41190 |
| Alpine Linux 3.14 | docker | Fixed | 20.10.11-r0 | ALPINE-CVE-2021-41190 |
| Go library | github.com/docker/docker | Fixed | 20.10.11+incompatible | GO-2024-2914 |
| Go library | github.com/moby/moby | Fixed | 20.10.11+incompatible | GO-2024-2914 |
| Go library | github.com/opencontainers/distribution-spec | Fixed | 1.0.1 | GHSA-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.
- opencontainers distribution-spec: affected: < 1.0.1
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/opencontainers/distribution-spec/security/advisories/GHSA-mc8v-mgrf-8f4m
- https://github.com/opencontainers/distribution-spec/commit/ac28cac0557bcd3084714ab09f9f2356fe504923
- http://www.openwall.com/lists/oss-security/2021/11/19/10
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A2RRFNTMFYKOTRKD37F5ANMCIO3GGJML/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DX63GRWFEI5RVMYV6XLMCG4OHPWZML27/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SQBCYJUIM5GVCMFUPRWKRZNXMMI5EFA4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T4OJ764CKKCWCVONHD4YXTGR7HZ7LRUV/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3TUZNDAH2B26VPBK342UC3BHZNLBUXGX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RZTO6N55WHKHIZI4IMLY2QFBPMVTAERM/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4334HT7AZPLWNYHW4ARU6JBUF3VZJPZN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YIGVQWOA5XXCQXEOOKZX4CDAGLBDRPRX/
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.