Security advisory
containerd is an open source container runtime. On installations using SELinux, such as EL8 (CentOS, RHEL), Fedora, or SUSE MicroOS, with containerd since v1.5.0-beta.0 as the backing container runtime interface (CRI), an unprivileged pod scheduled to the node may bind mount, via hostPath volume, any privileged, regular file on disk for complete read/write access (sans delete). Such is achieved by placing the in-container location of the hostPath volume mount at either `/etc/hosts`, `/etc/hostname`, or `/etc/resolv.conf`. These locations are being relabeled indiscriminately to match the container process-label which effectively elevates permissions for savvy containers that would not normally be able to access privileged host files. This issue has been resolved in version 1.5.9. Users are advised to upgrade as soon as possible.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-43816
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:01 UTC · Revision 1
Source evidence
containerd is an open source container runtime. On installations using SELinux, such as EL8 (CentOS, RHEL), Fedora, or SUSE MicroOS, with containerd since v1.5.0-beta.0 as the backing container runtime interface (CRI), an unprivileged pod scheduled to the node may bind mount, via hostPath volume, any privileged, regular file on disk for complete read/write access (sans delete). Such is achieved by placing the in-container location of the hostPath volume mount at either `/etc/hosts`, `/etc/hostname`, or `/etc/resolv.conf`. These locations are being relabeled indiscriminately to match the container process-label which effectively elevates permissions for savvy containers that would not normally be able to access privileged host files. This issue has been resolved in version 1.5.9. Users are advised to upgrade as soon as possible.
osv:CVE-2021-43816
Complete source record
{
"id": "142511e17982e85e65b21780c57b2c457960acf7f2ac1479ccf299c1109ff360",
"url": "https://osv.dev/vulnerability/CVE-2021-43816",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-43816",
"summary": "containerd is an open source container runtime. On installations using SELinux, such as EL8 (CentOS, RHEL), Fedora, or SUSE MicroOS, with containerd since v1.5.0-beta.0 as the backing container runtime interface (CRI), an unprivileged pod scheduled to the node may bind mount, via hostPath volume, any privileged, regular file on disk for complete read/write access (sans delete). Such is achieved by placing the in-container location of the hostPath volume mount at either `/etc/hosts`, `/etc/hostname`, or `/etc/resolv.conf`. These locations are being relabeled indiscriminately to match the container process-label which effectively elevates permissions for savvy containers that would not normally be able to access privileged host files. This issue has been resolved in version 1.5.9. Users are advised to upgrade as soon as possible.",
"evidence": "osv:CVE-2021-43816",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-43816",
"aliases": [
"CVE-2021-43816",
"GHSA-mvff-h3cj-wj9c",
"GO-2022-0278"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/containerd/containerd",
"type": "GIT",
"events": [
{
"introduced": "12dca9790f4cb6b18a6a7a027ce420145cb98ee7"
},
{
"fixed": "1407cab509ff0d96baa4f0eb6ff9980270e6e620"
},
{
"introduced": "8c906ff108ac28da23f69cc7b74f8e7a470d1df0"
},
{
"last_affected": "8c906ff108ac28da23f69cc7b74f8e7a470d1df0"
},
{
"fixed": "a731039238c62be081eb8c31525b988415745eea"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.1"
},
{
"fixed": "1.5.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:linuxfoundation:containerd:1.5.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-NA"
},
{
"last_affected": "1.5.0-NA"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "a731039238c62be081eb8c31525b988415745eea"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.5.0-NA",
"v1.5.8",
"v1.5.7",
"v1.5.6",
"v1.5.5",
"v1.5.4",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43816.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/dweomer/containerd",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f7f08f0e34fb97392b0d382e58916d6865100299"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "f7f08f0e34fb97392b0d382e58916d6865100299"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.3.0",
"v1.3.0-rc.3",
"v1.3.0-rc.2",
"v1.3.0-rc.1",
"v1.3.0-rc.0",
"v1.3.0-beta.2",
"v1.3.0-beta.1",
"v1.3.0-beta.0",
"v1.2.0",
"v1.2.0-rc.2",
"v1.2.0-rc.1",
"v1.2.0-rc.0",
"v1.2.0-beta.2",
"v1.2.0-beta.1",
"v1.2.0-beta.0",
"v1.1.0",
"v1.1.0-rc.2",
"v1.1.0-rc.1",
"v1.1.0-rc.0",
"v1.0.0",
"v1.0.0-rc.0",
"v1.0.0-beta.3",
"v1.0.0-beta.2",
"v1.0.0-beta.1",
"v1.0.0-beta.0",
"v1.0.0-alpha6",
"v1.0.0-alpha5",
"v1.0.0-alpha4",
"v1.0.0-alpha3",
"v1.0.0-alpha2",
"v1.0.0-alpha1",
"v1.0.0-alpha0",
"v0.2.0",
"0.0.5",
"0.0.4",
"0.0.3",
"0.0.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43816.json"
}
}
],
"modified": "2026-10-20T10:55:05.263451774Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GD5GH7NMK5VJMA2Y5CYB5O5GTPYMWMLX/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPDIZMI7ZPERSZE2XO265UCK5IWM7CID/",
"https://github.com/containerd/containerd/security/advisories/GHSA-mvff-h3cj-wj9c",
"https://github.com/containerd/containerd/issues/6194",
"https://github.com/containerd/containerd/commit/a731039238c62be081eb8c31525b988415745eea",
"https://github.com/dweomer/containerd/commit/f7f08f0e34fb97392b0d382e58916d6865100299"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "34"
},
{
"last_affected": "34"
},
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:linuxfoundation:containerd:1.5.0:beta0:*:*:*:*:*:*",
"cpe:2.3:a:linuxfoundation:containerd:1.5.0:beta1:*:*:*:*:*:*",
"cpe:2.3:a:linuxfoundation:containerd:1.5.0:beta2:*:*:*:*:*:*",
"cpe:2.3:a:linuxfoundation:containerd:1.5.0:beta3:*:*:*:*:*:*",
"cpe:2.3:a:linuxfoundation:containerd:1.5.0:beta4:*:*:*:*:*:*",
"cpe:2.3:a:linuxfoundation:containerd:1.5.0:rc0:*:*:*:*:*:*",
"cpe:2.3:a:linuxfoundation:containerd:1.5.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:linuxfoundation:containerd:1.5.0:rc2:*:*:*:*:*:*",
"cpe:2.3:a:linuxfoundation:containerd:1.5.0:rc3:*:*:*:*:*:*"
],
"vendor_product": "linuxfoundation:containerd",
"extracted_events": [
{
"range": [
{
"introduced": "1.5.0-beta0"
},
{
"last_affected": "1.5.0-beta0"
},
{
"introduced": "1.5.0-beta1"
},
{
"last_affected": "1.5.0-beta1"
},
{
"introduced": "1.5.0-beta2"
},
{
"last_affected": "1.5.0-beta2"
},
{
"introduced": "1.5.0-beta3"
},
{
"last_affected": "1.5.0-beta3"
},
{
"introduced": "1.5.0-beta4"
},
{
"last_affected": "1.5.0-beta4"
},
{
"introduced": "1.5.0-rc0"
},
{
"last_affected": "1.5.0-rc0"
},
{
"introduced": "1.5.0-rc1"
},
{
"last_affected": "1.5.0-rc1"
},
{
"introduced": "1.5.0-rc2"
},
{
"last_affected": "1.5.0-rc2"
},
{
"introduced": "1.5.0-rc3"
},
{
"last_affected": "1.5.0-rc3"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-43816",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386854,
"published_at": "2022-01-05T19:15:08.717+00:00"
}