CVE-2021-43816
containerd: Unprivileged pod may bind mount any privileged regular file on disk
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, Photon OS. Plus basse selon GHSA (élevée), Red Hat (élevée), Bottlerocket (élevée), Ubuntu (faible).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| 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 |
Afficher les 43 entrées de 36 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| 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 | pas de correctif indiqué |
| Red Hat | openshift-clients | pas de correctif indiqué |
| Red Hat | openshift-clients-redistributable | pas de correctif indiqué |
| Red Hat | openshift-hyperkube | pas de correctif indiqué |
| Red Hat | openshift-kube-apiserver | pas de correctif indiqué |
| Red Hat | openshift-kube-controller-manager | pas de correctif indiqué |
| Red Hat | openshift-kube-scheduler | pas de correctif indiqué |
| Red Hat | openshift-kubelet | pas de correctif indiqué |
| 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 |
Références
- 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
Les 14 références
- 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