Security mailing lists by PureSourceCode

CVE-2021-43816

CRITICAL 9.1CVSS 3.1

Unprivileged pod using `hostPath` can side-step active LSM when it is SELinux

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.

Published
5 Jan 2022
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-281
Also known as
GHSA-mvff-h3cj-wj9cGO-2022-0278
Sources
NVDJSONOSV GHSA-mvff-h3cj-wj9cJSONOSV GO-2022-0278JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.0 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.0 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.0 AV:N/AC:M/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*
>= 1.5.1, < 1.5.9 1.5.9
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:1.5.0:-:*:*:*:*:*:*
= 1.5.0
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:1.5.0:beta0:*:*:*:*:*:*
= 1.5.0
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:1.5.0:beta1:*:*:*:*:*:*
= 1.5.0
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:1.5.0:beta2:*:*:*:*:*:*
= 1.5.0
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:1.5.0:beta3:*:*:*:*:*:*
= 1.5.0
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:1.5.0:beta4:*:*:*:*:*:*
= 1.5.0
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:1.5.0:rc0:*:*:*:*:*:*
= 1.5.0
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:1.5.0:rc1:*:*:*:*:*:*
= 1.5.0
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:1.5.0:rc2:*:*:*:*:*:*
= 1.5.0
NVD linuxfoundation containerd
cpe:2.3:a:linuxfoundation:containerd:1.5.0:rc3:*:*:*:*:*:*
= 1.5.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
OSV Go github.com/containerd/containerd >= 1.5.0, < 1.5.9 1.5.9

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 5 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.