CVE-2021-43816
A public proof of concept exists; no exploitation attested.
- Published2022-01-05
- Fixed in1.5.9
- WeaknessCWE-281
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-01-0519:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.5 | ≥ 1.5.1, < 1.5.9 | 1.5.9 | NVD |
| 1.5 | ≥ 1.5.0, < 1.5.9 | 1.5.9 | OSV |
| 1.5 | = 1.5.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 34.x | = 34 | no fix published | NVD |
| 35.x | = 35 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- containerdAffected
- = >= 1.5.0, < 1.5.9no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-02-15
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- containerdUbuntu:Pro:16.04:LTSall versions · no fixed version listed
- containerdUbuntu:22.04:LTSall versions · fixed in 1.5.9-0ubuntu1
- containerdUbuntu:20.04:LTSall versions · fixed in 1.5.9-0ubuntu1~20.04.4
- containerdUbuntu:18.04:LTSall versions · fixed in 1.5.9-0ubuntu1~18.04.1
- containerdDebian:14all versions · fixed in 1.5.9~ds1-1
- containerdDebian:13all versions · fixed in 1.5.9~ds1-1
- containerdDebian:12all versions · fixed in 1.5.9~ds1-1
- containerdCleanStartall versions · fixed in 1.5.9-r0
11 more package ranges on OSV.dev
Vendor advisories
containerd: Unprivileged pod may bind mount any privileged regular file on disk
multicloud-operators-channel-container as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · multicloud-operators-subscription-container as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · multicloud-operators-subscription-release-container as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · +14 more
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.5 security updates, images, and bug fixes
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.2 security updates and bug fixes
Fix
- Update Linuxfoundation containerd to 1.5.9
- Vendor fix Red Hat Product Security RHSA-2022:4956 · 204 productsFor Red Hat Advanced Cluster Management for Kubernetes, see the following documentation, which will be updated shortly for this release, for important instructions on installing this release: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.5/html-…
- Vendor fix Red Hat Product Security RHSA-2022:0735 · 221 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.4/html-single/install/index#instal…
- No fix available, says the vendor Red Hat Product Security CVE-2021-43816 · 13 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2021-43816 · 4 productsWill not fix
Advisories and patches
- github.comPatch
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-22
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-22
- CNACVSS 3.18known since 2026-10-23
- NVDCVSS 3.19.1read 2026-10-23
- NVDCVSS 2.06read 2026-10-23
- CNAweakness (CWE)CWE-281known since 2026-10-23
- NVDweakness (CWE)CWE-281read 2026-10-23
- FIRST EPSSEPSS score1.8 %2026-11-09
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2022-01-05
Identifiers
- EUVD-2022-0652same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-mvff-h3cj-wj9csame flawGitHub Advisory Database · CC-BY-4.0
- GO-2022-0278same flawGo Vulnerability Database · CC-BY-4.0
- MGASA-2022-0071advisory covering several CVEsMageia · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Published
- 2022-01-05
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-mvff-h3cj-wj9c
Frequently asked questions
What is CVE-2021-43816?
Is CVE-2021-43816 actively exploited?
What is the CVSS score for CVE-2021-43816?
Running containerd/containerd? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-mvff-h3cj-wj9c
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0