CVE-2021-43816: containerd Improper Preservation of Permissions
Vulnerability summary
CVE-2021-43816 is a critical (CVSS 9.1) Improper Preservation of Permissions vulnerability in containerd. EPSS estimates a 1.68% chance of exploitation in the next 30 days, higher than 76.6% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 05-01-2022PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
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 metrics
6 scores · 5 sources · 2 versions- CVE.orgCNA8.0HighCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- OSV · GoEcosystem advisory · calculated8.0HighCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.68%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
0.00 pp
From 1.68% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundContainerd
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Containerd1 product
- containerd≥ 1.5.0, < 1.5.9
Debian1 product
- containerd< 1.5.9~ds1-1
Fedoraproject1 product
- fedoraEOL34 | 35
Github.com/containerd1 product
- containerd≥ 1.5.0, < 1.5.9
Linuxfoundation1 product
- containerdEOL≥ 1.5.1, < 1.5.9 | 1.5.0 | 1.5.0:beta0 | 1.5.0:beta1 | 1.5.0:beta2 | 1.5.0:beta3 | 1.5.0:beta4 | 1.5.0:rc0 | 1.5.0:rc1 | 1.5.0:rc2 | 1.5.0:rc3
Mageia1 product
- docker-containerd< 1.5.9-1.mga8
Ubuntu1 product
- containerdAll versions (No fix recorded) | < 1.5.9-0ubuntu1~18.04.1 | < 1.5.9-0ubuntu1~20.04.4 | < 1.5.9-0ubuntu1
7 vendors · 7 products
References
16 links- github.com/containerd/containerd/security/advisories/GHSA-mvff-h3cj-wj9cX Refsource CONFIRMREPORTWEBAdvisoryThird Party Advisory
- github.com/containerd/containerd/issues/6194X Refsource MISCWEBREPORTExploitIssue TrackingThird Party Advisory
- github.com/containerd/containerd/commit/a731039238c62be081eb8c31525b988415745eeaX Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/dweomer/containerd/commit/f7f08f0e34fb97392b0d382e58916d6865100299X Refsource MISCREPORTWEBPatchThird Party Advisory