CVE-2021-43816
containerd: Unprivileged pod may bind mount any privileged regular file on disk
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, Photon OS. Daha düşük diyenler: GHSA (yüksek), Red Hat (yüksek), Bottlerocket (yüksek), Ubuntu (düşük).
Açıklama
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.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| 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 |
36 kaynaktaki 43 kaydın hepsini göster
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| 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 | düzeltme belirtilmemiş |
| Red Hat | openshift-clients | düzeltme belirtilmemiş |
| Red Hat | openshift-clients-redistributable | düzeltme belirtilmemiş |
| Red Hat | openshift-hyperkube | düzeltme belirtilmemiş |
| Red Hat | openshift-kube-apiserver | düzeltme belirtilmemiş |
| Red Hat | openshift-kube-controller-manager | düzeltme belirtilmemiş |
| Red Hat | openshift-kube-scheduler | düzeltme belirtilmemiş |
| Red Hat | openshift-kubelet | düzeltme belirtilmemiş |
| 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 |
Referanslar
- 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
14 referansın hepsi
- 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