{"schemaVersion":3,"id":"CVE-2021-43816","aliases":["MGASA-2022-0071","UBUNTU-CVE-2021-43816","DEBIAN-CVE-2021-43816","GHSA-mvff-h3cj-wj9c","GO-2022-0278"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-01-05T18:55:10.000Z","modified":"2025-04-22T18:34:15.666Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":5.9,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":5.9,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":3.3,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6,"severity":"medium","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01682,"percentile":0.76626,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01682},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01682,"percentile":0.76626}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01682,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01682,"percentile":0.76626}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_CONTAINERD_CONTAINERD","name":"Containerd","source":"github","url":"https://github.com/containerd/containerd/issues/6194","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-281","name":"Improper Preservation of Permissions","description":"The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/281.html"}],"affected":[{"vendor":"containerd","product":"containerd","name":"containerd","label":"containerd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.5.0, < 1.5.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.5.0, < 1.5.9","eol":null,"hubHref":"/vendor/containerd/containerd"},{"vendor":"debian","product":"containerd","name":"containerd","label":"containerd","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/containerd","purlType":"deb","versions":[{"text":"< 1.5.9~ds1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.9~ds1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"containerd","name":"containerd","label":"containerd","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/containerd","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.5.9-0ubuntu1~18.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.5.9-0ubuntu1~20.04.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.5.9-0ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.5.9-0ubuntu1~18.04.1 | < 1.5.9-0ubuntu1~20.04.4 | < 1.5.9-0ubuntu1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"34 | 35","eol":{"isEol":true,"eolDate":"2022-06-07T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"34","label":"34","eolFrom":"2022-06-07T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"github.com/containerd","product":"containerd","name":"github.com/containerd/containerd","label":"containerd","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/containerd/containerd","purlType":"golang","versions":[{"text":"≥ 1.5.0, < 1.5.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.5.0, < 1.5.9","eol":null,"hubHref":null},{"vendor":"linuxfoundation","product":"containerd","name":"containerd","label":"containerd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.5.1, < 1.5.9","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:beta0","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:rc0","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"1.5.0:rc3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":{"isEol":true,"eolDate":"2023-02-28T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"1.5","label":"1.5","eolFrom":"2023-02-28T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"1.5.18"},"product":{"name":"containerd","label":"containerd","category":"app"}},"hubHref":"/vendor/linuxfoundation/containerd"},{"vendor":"mageia","product":"docker-containerd","name":"docker-containerd","label":"docker-containerd","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/docker-containerd","purlType":"rpm","versions":[{"text":"< 1.5.9-1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.9-1.mga8","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://github.com/containerd/containerd/security/advisories/GHSA-mvff-h3cj-wj9c","label":"github.com/containerd/containerd/security/advisories/GHSA-mvff-h3cj-wj9c","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Advisory","Third Party Advisory"]},{"url":"https://github.com/containerd/containerd/issues/6194","label":"github.com/containerd/containerd/issues/6194","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/containerd/containerd/commit/a731039238c62be081eb8c31525b988415745eea","label":"github.com/containerd/containerd/commit/a731039238c62be081eb8c31525b988415745eea","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Third Party Advisory"]},{"url":"https://github.com/dweomer/containerd/commit/f7f08f0e34fb97392b0d382e58916d6865100299","label":"github.com/dweomer/containerd/commit/f7f08f0e34fb97392b0d382e58916d6865100299","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GD5GH7NMK5VJMA2Y5CYB5O5GTPYMWMLX/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPDIZMI7ZPERSZE2XO265UCK5IWM7CID/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://advisories.mageia.org/MGASA-2022-0071.html","label":"advisories.mageia.org/MGASA-2022-0071.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30050","label":"bugs.mageia.org/show_bug.cgi?id=30050","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/MPDIZMI7ZPERSZE2XO265UCK5IWM7CID/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2021-43816","label":"ubuntu.com/security/CVE-2021-43816","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43816","label":"www.cve.org/CVERecord?id=CVE-2021-43816","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-43816","label":"security-tracker.debian.org/tracker/CVE-2021-43816","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43816","label":"nvd.nist.gov/vuln/detail/CVE-2021-43816","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/containerd/containerd","label":"github.com/containerd/containerd","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GD5GH7NMK5VJMA2Y5CYB5O5GTPYMWMLX","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MPDIZMI7ZPERSZE2XO265UCK5IWM7CID","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-01-05T18:55:10.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-22T18:34:15.666Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T02:48:17.135Z","stale":false,"partial":false}}