CVE-2021-43816
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.
Scoring
- Severity
- HIGH
- CVSS base score
- 8
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- EPSS probability
- 0.15%
- CWE
- CWE-281
- Published
- 2022-01-05
- Last modified
- 2026-03-13
Affected products
- containerd containerd
Weakness type
Related vulnerabilities
- CVE-2023-48240 — XWiki Platform sends cookies to external images in rendered diff and is vulnerable to server side request forgery
- CVE-2020-8913 — Local arbitrary code execution in splitinstall in Android's Play Core
- CVE-2025-7346 — Any unauthenticated attacker can bypass the localhost restrictions posed by the application and utilize this to create
- CVE-2025-34298 — Nagios Log Server < 2024R1.3.2 Set Email Privilege Escalation
- CVE-2025-24337 — WriteFreely through 0.15.1, when MySQL is used, allows local users to discover credentials by reading config.ini.
- CVE-2023-43612 — Hiview has an improper preservation of permissions vulnerability
- CVE-2023-0975 — A vulnerability exists in Trellix Agent for Windows version 5.7.8 and earlier, that allows local users, during install/
- CVE-2026-23556 — oxenstored keeps quota related use counts across domain destruction