CVE-2021-43816: Improper Preservation of Permissions in containerd

CVE-2021-43816 affects 5 listed versions of Kubernetes containerd in the Dawnsentry catalogue.

9.1CVSS critical
Proof of concept publicexploitation
2%EPSS (next 30 days)
5 January 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Kubernetes containerd

5 of 151 listed versions are affected. Fixed in 1.5.9. The newest release, 2.4.2, is not affected.

1.5.8 1.5.7 1.5.6 1.5.5 1.5.4

What it is

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:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H (NVD)

Published by GitHub on 5 January 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2021-43816 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.