CVE-2021-43816Linuxfoundation Containerd
Critical 9.1
Follow: this CVE · Linuxfoundation · Linuxfoundation Containerd We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 3.1
- 9.1
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- Yes
- Published
- Jan 5, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-281
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Containerd.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/containerd/containerd |
≥ 1.5.0 < 1.5.9 |
1.5.9 |
go get github.com/containerd/containerd@v1.5.9 |
| Go | github.com/containerd/containerd |
≥ 1.5.0 < 1.5.9 |
1.5.9 |
go get github.com/containerd/containerd@v1.5.9 |
Per OSV / GitHub Advisories (GHSA-mvff-h3cj-wj9c, GO-2022-0278). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | containerd | ≥ 1.5.1 < 1.5.9 |
| linuxfoundation | containerd | 1.5.0 |
| linuxfoundation | containerd | 1.5.0 |
| linuxfoundation | containerd | 1.5.0 |
| linuxfoundation | containerd | 1.5.0 |
| linuxfoundation | containerd | 1.5.0 |
| linuxfoundation | containerd | 1.5.0 |
| linuxfoundation | containerd | 1.5.0 |
| linuxfoundation | containerd | 1.5.0 |
| linuxfoundation | containerd | 1.5.0 |
| linuxfoundation | containerd | 1.5.0 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org