{"cve":"CVE-2021-43816","nvd":{"published":"2022-01-05T19:15:08.717","modified":"2026-06-17T04:11:29.860","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1},"cwes":["CWE-281"],"references":["https://github.com/containerd/containerd/commit/a731039238c62be081eb8c31525b988415745eea","https://github.com/containerd/containerd/issues/6194","https://github.com/containerd/containerd/security/advisories/GHSA-mvff-h3cj-wj9c","https://github.com/dweomer/containerd/commit/f7f08f0e34fb97392b0d382e58916d6865100299","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GD5GH7NMK5VJMA2Y5CYB5O5GTPYMWMLX/"],"products":["fedoraproject:fedora","linuxfoundation:containerd"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2021-43816","score":0.01809,"percentile":0.7861,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mvff-h3cj-wj9c","url":"https://osv.dev/vulnerability/GHSA-mvff-h3cj-wj9c","summary":"Unprivileged pod using `hostPath` can side-step active LSM when it is SELinux","modified":"2026-07-08T06:28:50.902477223Z","packages":[{"ecosystem":"Go","name":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","ranges":[">=1.5.0 <1.5.9"],"fixed":["1.5.9"]}]},{"id":"GO-2022-0278","url":"https://osv.dev/vulnerability/GO-2022-0278","summary":"Unprivileged pod using `hostPath` can side-step active LSM when it is SELinux in github.com/containerd/containerd","modified":"2026-03-03T04:52:05.603684Z","packages":[{"ecosystem":"Go","name":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","ranges":[">=1.5.0 <1.5.9"],"fixed":["1.5.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}