CVE-2021-43816
containerd: Unprivileged pod may bind mount any privileged regular file on disk
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, Photon OS. Niedriger laut GHSA (hoch), Red Hat (hoch), Bottlerocket (hoch), Ubuntu (niedrig).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| Photon OS 3.0 | fuse-overlayfs-snapshotter | 1.0.6-1.ph3 |
| Photon OS 4.0 | fuse-overlayfs-snapshotter | 1.0.6-1.ph4 |
| alpine 3.15 | containerd | 1.5.9-r0 |
| alpine 3.16 | containerd | 1.5.9-r0 |
| alpine 3.17 | containerd | 1.5.9-r0 |
| alpine 3.18 | containerd | 1.5.9-r0 |
| alpine 3.19 | containerd | 1.5.9-r0 |
| alpine 3.20 | containerd | 1.5.9-r0 |
| alpine 3.21 | containerd | 1.5.9-r0 |
| alpine 3.22 | containerd | 1.5.9-r0 |
| alpine 3.23 | containerd | 1.5.9-r0 |
| alpine 3.24 | containerd | 1.5.9-r0 |
Alle 43 Einträge aus 36 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| Photon OS 3.0 | fuse-overlayfs-snapshotter | 1.0.6-1.ph3 |
| Photon OS 4.0 | fuse-overlayfs-snapshotter | 1.0.6-1.ph4 |
| alpine 3.15 | containerd | 1.5.9-r0 |
| alpine 3.16 | containerd | 1.5.9-r0 |
| alpine 3.17 | containerd | 1.5.9-r0 |
| alpine 3.18 | containerd | 1.5.9-r0 |
| alpine 3.19 | containerd | 1.5.9-r0 |
| alpine 3.20 | containerd | 1.5.9-r0 |
| alpine 3.21 | containerd | 1.5.9-r0 |
| alpine 3.22 | containerd | 1.5.9-r0 |
| alpine 3.23 | containerd | 1.5.9-r0 |
| alpine 3.24 | containerd | 1.5.9-r0 |
| alpine edge | containerd | 1.5.9-r0 |
| bottlerocket | containerd | 1.5.2-1602f3a8 |
| debian 12 | containerd | 1.5.9~ds1-1 |
| debian 13 | containerd | 1.5.9~ds1-1 |
| debian 14 | containerd | 1.5.9~ds1-1 |
| echo | containerd | 1.5.9~ds1-1 |
| go::GitHub Security Advisory Go | github.com/containerd/containerd | 1.5.9 |
| Red Hat | openshift | kein Fix angegeben |
| Red Hat | openshift-clients | kein Fix angegeben |
| Red Hat | openshift-clients-redistributable | kein Fix angegeben |
| Red Hat | openshift-hyperkube | kein Fix angegeben |
| Red Hat | openshift-kube-apiserver | kein Fix angegeben |
| Red Hat | openshift-kube-controller-manager | kein Fix angegeben |
| Red Hat | openshift-kube-scheduler | kein Fix angegeben |
| Red Hat | openshift-kubelet | kein Fix angegeben |
| root.io debian 12 | rootio-containerd | 1.5.9~ds1-1 |
| ubuntu 18.04 | containerd | 1.5.9-0ubuntu1~18.04.1 |
| ubuntu 18.04-ESM | containerd | 1.5.9-0ubuntu1~18.04.1 |
| ubuntu 20.04 | containerd | 1.5.9-0ubuntu1~20.04.4 |
| ubuntu 20.04-ESM | containerd | 1.5.9-0ubuntu1~20.04.4 |
| ubuntu 21.10 | containerd | 1.5.9-0ubuntu1~21.10.3 |
| ubuntu 22.04 | containerd | 1.5.9-0ubuntu1 |
| ubuntu 22.10 | containerd | 1.5.9-0ubuntu1 |
| ubuntu 23.04 | containerd | 1.5.9-0ubuntu1 |
| ubuntu 23.10 | containerd | 1.5.9-0ubuntu1 |
| ubuntu 24.04 | containerd | 1.5.9-0ubuntu1 |
| ubuntu 24.10 | containerd | 1.5.9-0ubuntu1 |
| ubuntu 25.04 | containerd | 1.5.9-0ubuntu1 |
| ubuntu 25.10 | containerd | 1.5.9-0ubuntu1 |
| ubuntu 26.04 | containerd | 1.5.9-0ubuntu1 |
| ubuntu 26.10 | containerd | 1.5.9-0ubuntu1 |
Referenzen
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43816
- https://access.redhat.com/security/cve/CVE-2021-43816
- https://github.com/bottlerocket-os/bottlerocket/security/advisories/GHSA-x6g3-r23m-qfv9
- https://github.com/containerd/containerd
- 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
Alle 14 Referenzen
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GD5GH7NMK5VJMA2Y5CYB5O5GTPYMWMLX
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GD5GH7NMK5VJMA2Y5CYB5O5GTPYMWMLX/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MPDIZMI7ZPERSZE2XO265UCK5IWM7CID
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MPDIZMI7ZPERSZE2XO265UCK5IWM7CID/
- https://nvd.nist.gov/vuln/detail/CVE-2021-43816
- https://www.cve.org/CVERecord?id=CVE-2021-43816