Live threats

All CVEs / Linuxfoundation

CVE-2021-43816Linuxfoundation Containerd

Critical 9.1

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Containerd.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
linuxfoundationcontainerd≥ 1.5.1 < 1.5.9
linuxfoundationcontainerd1.5.0
linuxfoundationcontainerd1.5.0
linuxfoundationcontainerd1.5.0
linuxfoundationcontainerd1.5.0
linuxfoundationcontainerd1.5.0
linuxfoundationcontainerd1.5.0
linuxfoundationcontainerd1.5.0
linuxfoundationcontainerd1.5.0
linuxfoundationcontainerd1.5.0
linuxfoundationcontainerd1.5.0
fedoraprojectfedora34
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.