CVE-2021-43816
published high CVSS 3.1 · 8.0Improper Preservation of Permissions in containerd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| containerd | — | containerd>= 1.5.0, < 1.5.9 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | containerd | Fixed | 1.5.9-r0 | Package fix record |
| Alpine Linux | v3.15 | containerd | Fixed | 1.5.9-r0 | Package fix record |
| Alpine Linux | v3.16 | containerd | Fixed | 1.5.9-r0 | Package fix record |
| Alpine Linux | v3.17 | containerd | Fixed | 1.5.9-r0 | Package fix record |
| Alpine Linux | v3.18 | containerd | Fixed | 1.5.9-r0 | Package fix record |
| Alpine Linux | v3.19 | containerd | Fixed | 1.5.9-r0 | Package fix record |
| Alpine Linux | v3.20 | containerd | Fixed | 1.5.9-r0 | Package fix record |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.21 | containerd | Fixed | 1.5.9-r0 | Package fix record |
| Alpine Linux | v3.22 | containerd | Fixed | 1.5.9-r0 | Package fix record |
| Alpine Linux | v3.23 | containerd | Fixed | 1.5.9-r0 | Package fix record |
| Alpine Linux | v3.24 | containerd | Fixed | 1.5.9-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| containerd | containerd | >= 1.5.0, < 1.5.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-281 CWE-281: Improper Preservation of Permissions
References
6- 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
- FEDORA-2022-f668c3d70d https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GD5GH7NMK5VJMA2Y5CYB5O5GTPYMWMLX/
- FEDORA-2022-a0b2a4d594 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPDIZMI7ZPERSZE2XO265UCK5IWM7CID/
Provider assertions
3GitHub_M · cna
Improper Preservation of Permissions in containerd
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f55ef8a38e20d7998a918bbc69b1f4442bf163e8abee54b0e77c95c5a86114eb
- Ingested
- 23 Sep 2026, 07:56:36 UTC
- Source record
- Official CVE record