Skip to content
OpenAdvisories
Medium · 6.8 CVE-2022-27651 EUVD-2022-1700GHSA-c3g4-w6cv-6v7hGO-2022-0417

Non-empty default inheritable capabilities for linux container in Buildah

Published Apr 4, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

A flaw was found in buildah where containers were incorrectly started with non-empty default permissions. A bug was found in Moby (Docker Engine) where containers were incorrectly started with non-empty inheritable Linux process capabilities, enabling an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs. This has the potential to impact confidentiality and integrity.

Affected products

VendorProductAffectedFixed
— buildah Affects buildah v1.24.0 and prior, Fixed in - v1.25.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-containers-buildah 1.28.0+ds1-2 —
Debian 13 golang-github-containers-buildah 1.28.0+ds1-2 —
Debian 12 golang-github-containers-buildah 1.28.0+ds1-2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-containers-buildah No fix yet —
Ubuntu 25.10 golang-github-containers-buildah No fix yet —
Ubuntu 22.04 LTS golang-github-containers-buildah No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS golang-github-containers-buildah No fix yet —
Ubuntu Pro 24.04 LTS golang-github-containers-buildah No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 buildah +1 1.11.6-10.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 cockpit-podman 11-1.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 conmon 2:2.0.15-1.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 container-selinux 2:2.130.0-1.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 containernetworking-plugins 0.8.3-4.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 crit +2 3.12-9.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 criu-libs +1 3.15-3.module+el8.6.0+14673+621cb8be RHSA-2022:1762
RHEL 8 crun 0.18-2.module+el8.5.0+14784+8c48f0fc RHSA-2022:1762, RHSA-2022:1565
RHEL 8 fuse-overlayfs 0.7.8-1.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 libslirp +1 4.3.1-1.module+el8.5.0+14784+8c48f0fc RHSA-2022:1762, RHSA-2022:1565
RHEL 8 netavark +1 2:1.0.1-27.module+el8.6.0+14673+621cb8be RHSA-2022:1762
RHEL 8 oci-seccomp-bpf-hook 1.2.0-3.module+el8.5.0+14784+8c48f0fc RHSA-2022:1762, RHSA-2022:1565
RHEL 8 podman +3 1.6.4-28.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 podman-gvproxy 2:4.0.2-6.module+el8.6.0+14673+621cb8be RHSA-2022:1762
RHEL 8 podman-plugins +1 3.0.1-8.module+el8.5.0+14784+8c48f0fc RHSA-2022:1762, RHSA-2022:1565
RHEL 8 python-podman +1 4.0.0-1.module+el8.6.0+14673+621cb8be RHSA-2022:1762
RHEL 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.5.0+14796+e4386a39 RHSA-2022:1566
RHEL 8 runc 1.0.0-66.rc10.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 skopeo +2 1:0.1.41-4.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 slirp4netns 0.4.2-3.git21fdece.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 toolbox 0.0.7-1.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
RHEL 8 toolbox-tests 0.0.99.3-0.4.module+el8.6.0+14673+621cb8be RHSA-2022:1762, RHSA-2022:1565
RHEL 8 udica 0.2.1-2.module+el8.5.0+14796+e4386a39 RHSA-2022:1762, RHSA-2022:1566, RHSA-2022:1565
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.4 EUS buildah +1 1.11.6-9.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS cockpit-podman 11-1.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS conmon 2:2.0.15-1.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS container-selinux 2:2.130.0-1.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS containernetworking-plugins 0.8.3-4.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS crit +2 3.12-9.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS crun 0.18-2.module+el8.4.0+14872+9efa52a3 RHSA-2022:4816
RHEL 8.4 EUS fuse-overlayfs 0.7.8-1.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS libslirp +1 4.3.1-1.module+el8.4.0+14872+9efa52a3 RHSA-2022:4816
RHEL 8.4 EUS oci-seccomp-bpf-hook 1.2.0-1.module+el8.4.0+14872+9efa52a3 RHSA-2022:4816
RHEL 8.4 EUS podman +3 1.6.4-28.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS podman-plugins +1 3.0.1-9.module+el8.4.0+14872+9efa52a3 RHSA-2022:4816
RHEL 8.4 EUS python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.4.0+14792+f44be4c2 RHSA-2022:1407
RHEL 8.4 EUS runc 1.0.0-65.rc10.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS skopeo +2 1:0.1.41-4.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS slirp4netns 0.4.2-3.git21fdece.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS toolbox 0.0.7-1.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.4 EUS udica 0.2.1-2.module+el8.4.0+14792+f44be4c2 RHSA-2022:4816, RHSA-2022:1407
RHEL 8.2 EUS buildah +1 1.11.6-8.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS cockpit-podman 11-1.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS conmon 2:2.0.6-1.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS container-selinux 2:2.124.0-1.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS containernetworking-plugins 0.8.3-4.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS crit +2 3.12-9.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS fuse-overlayfs 0.7.2-5.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS podman +3 1.6.4-24.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS runc 1.0.0-65.rc10.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS skopeo +2 1:0.1.40-9.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS slirp4netns 0.4.2-3.git21fdece.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS toolbox 0.0.7-1.module+el8.2.0+14896+bf621b2a RHSA-2022:4651
RHEL 8.2 EUS udica 0.2.1-2.module+el8.2.0+14896+bf621b2a RHSA-2022:4651

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 buildah +1 1.11.6-10.module_el8.5.0+2635+e4386a39 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 cockpit-podman 11-1.module_el8.5.0+108+00865455 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 conmon 2:2.0.15-1.module_el8.5.0+108+00865455 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 container-selinux 2:2.130.0-1.module_el8.5.0+108+00865455 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 containernetworking-plugins 0.8.3-4.module_el8.5.0+108+00865455 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 crit +2 3.12-9.module_el8.4.0+2496+12421f43 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 criu-libs +1 3.15-3.module_el8.6.0+2751+06427ca3 ALSA-2022:1762
AlmaLinux 8 crun 0.18-2.module_el8.5.0+2636+8c48f0fc ALSA-2022:1762, ALSA-2022:1565
AlmaLinux 8 fuse-overlayfs 0.7.8-1.module_el8.5.0+108+00865455 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 libslirp +1 4.3.1-1.module_el8.5.0+2636+8c48f0fc ALSA-2022:1762, ALSA-2022:1565
AlmaLinux 8 netavark +1 2:1.0.1-27.module_el8.6.0+2878+e681bc44 ALSA-2022:1762
AlmaLinux 8 oci-seccomp-bpf-hook 1.2.0-3.module_el8.5.0+2636+8c48f0fc ALSA-2022:1762, ALSA-2022:1565
AlmaLinux 8 podman +3 1.6.4-28.module_el8.5.0+2635+e4386a39 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 podman-gvproxy 2:4.0.2-6.module_el8.6.0+2878+e681bc44 ALSA-2022:1762
AlmaLinux 8 podman-plugins +1 3.0.1-8.module_el8.5.0+2636+8c48f0fc ALSA-2022:1762, ALSA-2022:1565
AlmaLinux 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455 ALSA-2022:1566
AlmaLinux 8 python3-podman 4.0.0-1.module_el8.6.0+2877+8e437bf5 ALSA-2022:1762
AlmaLinux 8 runc 1.0.0-66.rc10.module_el8.5.0+108+00865455 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 skopeo +2 1:0.1.41-4.module_el8.5.0+108+00865455 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 slirp4netns 0.4.2-3.git21fdece.module_el8.5.0+108+00865455 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 toolbox 0.0.7-1.module_el8.5.0+108+00865455 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565
AlmaLinux 8 toolbox-tests 0.0.99.3-0.4.module_el8.6.0+2877+8e437bf5 ALSA-2022:1762, ALSA-2022:1565
AlmaLinux 8 udica 0.2.1-2.module_el8.5.0+108+00865455 ALSA-2022:1762, ALSA-2022:1566, ALSA-2022:1565

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 buildah 1.11.6-10.module+el8.5.0+770+e2f49861 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 cockpit-podman 11-1.module+el8.4.0+559+c02fa3b2 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 conmon 2:2.0.15-1.module+el8.4.0+559+c02fa3b2 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 container-selinux 2:2.130.0-1.module+el8.4.0+559+c02fa3b2 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 containernetworking-plugins 0.8.3-4.module+el8.4.0+559+c02fa3b2 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 containers-common 2:1-27.module+el8.6.0+785+d1251653 RLSA-2022:1762
Rocky Linux 8 criu 3.12-9.module+el8.4.0+557+48ba8b2f RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 crun 0.18-2.module+el8.4.0+556+40122d08 RLSA-2022:1762, RLSA-2022:1565
Rocky Linux 8 fuse-overlayfs 0.7.8-1.module+el8.4.0+559+c02fa3b2 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 libslirp 4.3.1-1.module+el8.4.0+556+40122d08 RLSA-2022:1762, RLSA-2022:1565
Rocky Linux 8 oci-seccomp-bpf-hook 1.2.0-3.module+el8.5.0+709+440d5e7e RLSA-2022:1762, RLSA-2022:1565
Rocky Linux 8 podman 1.6.4-28.module+el8.5.0+770+e2f49861 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 python-podman 4.0.0-1.module+el8.6.0+784+32aef5de RLSA-2022:1762
Rocky Linux 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.4.0+559+c02fa3b2 RLSA-2022:1566
Rocky Linux 8 runc 1.0.0-66.rc10.module+el8.5.0+708+6758137d RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 skopeo 1:0.1.41-4.module+el8.4.0+559+c02fa3b2 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 slirp4netns 0.4.2-3.git21fdece.module+el8.4.0+536+994a2182 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 toolbox 0.0.7-1.module+el8.4.0+559+c02fa3b2 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
Rocky Linux 8 udica 0.2.1-2.module+el8.4.0+559+c02fa3b2 RLSA-2022:1762, RLSA-2022:1566, RLSA-2022:1565
ReleasePackageFixed inAdvisory
SLES 15 SP4 buildah 1.25.1-150400.3.3.28 SUSE-SU-2022:2680-1
SLES 15 SP3 buildah 1.25.1-150300.8.6.1 SUSE-SU-2022:1437-1
SLES 15 SP2 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SLES 15 SP1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP2 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SLES for SAP 15 SP1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SLE HPC 15 SP2 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SLE HPC 15 SP1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SUSE Manager Server 4.1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SUSE Manager Retail Branch Server 4.1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SUSE Manager Proxy 4.1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SUSE Enterprise Storage 7 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SUSE Enterprise Storage 6 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed buildah 1.25.1-1.1 openSUSE-SU-2024:11964-1
openSUSE Leap 15.4 buildah 1.25.1-150400.3.3.28 SUSE-SU-2022:2680-1
openSUSE Leap 15.3 buildah 1.25.1-150300.8.6.1 SUSE-SU-2022:1437-1
ReleasePackageFixed inAdvisory
Alpine v3.15 buildah 1.23.4-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 buildah 1.41.4-2 —
Azure Linux 2 (CBL-Mariner) buildah 1.18.0-8 —
Azure Linux 2 (CBL-Mariner) cri-o 1.21.7-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 buildah +1 1.11.6-10.0.1.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 cockpit-podman 11-1.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 conmon 2:2.0.15-1.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 container-selinux 2:2.130.0-1.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 containernetworking-plugins 0.8.3-4.0.1.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 crit +2 3.12-9.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 criu-libs +1 3.15-3.module+el8.6.0+20656+53f7e955 ELSA-2022-1762
Oracle Linux 8 crun 0.18-2.module+el8.5.0+20637+38ac8416 ELSA-2022-1762, ELSA-2022-1565
Oracle Linux 8 fuse-overlayfs 0.7.8-1.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 libslirp +1 4.3.1-1.module+el8.5.0+20637+38ac8416 ELSA-2022-1762, ELSA-2022-1565
Oracle Linux 8 netavark +1 2:1.0.1-27.module+el8.6.0+20656+53f7e955 ELSA-2022-1762
Oracle Linux 8 oci-seccomp-bpf-hook 1.2.0-3.module+el8.5.0+20637+38ac8416 ELSA-2022-1762, ELSA-2022-1565
Oracle Linux 8 podman +3 1.6.4-28.0.1.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 podman-gvproxy 2:4.0.2-6.module+el8.6.0+20656+53f7e955 ELSA-2022-1762
Oracle Linux 8 podman-plugins +1 3.0.1-8.module+el8.5.0+20637+38ac8416 ELSA-2022-1762, ELSA-2022-1565
Oracle Linux 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.5.0+20636+305c97cc ELSA-2022-1566
Oracle Linux 8 python3-podman 4.0.0-1.module+el8.6.0+20656+53f7e955 ELSA-2022-1762
Oracle Linux 8 runc 1.0.0-66.rc10.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 skopeo +2 1:0.1.41-4.0.1.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 slirp4netns 0.4.2-3.git21fdece.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565
Oracle Linux 8 udica 0.2.1-2.module+el8.5.0+20636+305c97cc ELSA-2022-1762, ELSA-2022-1566, ELSA-2022-1565

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/containers/buildah < 1.25.0 1.25.0 GHSA-c3g4-w6cv-6v7h

Advisories 19

References