Vulnerability · Published Jan 22, 2025 · Assigned by redhat

CVE-2024-11218Podman: buildah: container breakout by using --jobs=2 and a race condition when building a malicious containerfile

High 8.6

In plain English

A high-severity privilege mismanagement in buildah. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.4%top 69.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A vulnerability was found in `podman build` and `buildah.` This issue occurs in a container breakout by using --jobs=2 and a race condition when building a malicious Containerfile. SELinux might mitigate it, but even with SELinux on, it still allows the enumeration of files and directories on the host.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8aardvark-dns2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8aardvark-dns2:1.10.1-2.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8aardvark-dns2:1.10.1-2.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8buildah2:1.33.12-1.module_el8.10.0+3959+b8dc5e6aALSA-2025:1372
AlmaLinux:9buildah2:1.37.6-1.el9_5ALSA-2025:0923
AlmaLinux:8buildah-tests2:1.33.12-1.module_el8.10.0+3959+b8dc5e6aALSA-2025:1372
AlmaLinux:9buildah-tests2:1.37.6-1.el9_5ALSA-2025:0923
AlmaLinux:8cockpit-podman84.1-1.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3845+87b84552ALSA-2025:1372
AlmaLinux:8container-selinux2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8containernetworking-plugins1:1.4.0-5.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8containernetworking-plugins1:1.4.0-5.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8containernetworking-plugins1:1.4.0-5.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8containers-common2:1-82.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8containers-common2:1-82.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8crit3.18-5.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8crit3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2025:1372
AlmaLinux:8crit3.18-5.module_el8.10.0+3845+87b84552ALSA-2025:1372
AlmaLinux:8criu3.18-5.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8criu3.18-5.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8criu3.18-5.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8criu-devel3.18-5.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8criu-devel3.18-5.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8criu-devel3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2025:1372
AlmaLinux:8criu-libs3.18-5.module_el8.10.0+3845+87b84552ALSA-2025:1372
AlmaLinux:8criu-libs3.18-5.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8criu-libs3.18-5.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8crun1.14.3-2.module_el8.10.0+3845+87b84552ALSA-2025:1372
AlmaLinux:8crun1.14.3-2.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8crun1.14.3-2.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8fuse-overlayfs1.13-1.module_el8.10.0+3792+03eaed9cALSA-2025:1372
AlmaLinux:8fuse-overlayfs1.13-1.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8fuse-overlayfs1.13-1.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3845+87b84552ALSA-2025:1372
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3858+6ad51f9fALSA-2025:1372
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8netavark2:1.10.3-1.module_el8.10.0+3858+6ad51f9fALSA-2025:1372
AlmaLinux:8netavark2:1.10.3-1.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8netavark2:1.10.3-1.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8netavark2:1.10.3-1.module_el8.10.0+3845+87b84552ALSA-2025:1372
AlmaLinux:8oci-seccomp-bpf-hook1.2.10-1.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8oci-seccomp-bpf-hook1.2.10-1.module_el8.10.0+3792+03eaed9cALSA-2025:1372
AlmaLinux:8oci-seccomp-bpf-hook1.2.10-1.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8podman4:4.9.4-19.module_el8.10.0+3959+b8dc5e6aALSA-2025:1372
AlmaLinux:9podman4:5.2.2-13.el9_5ALSA-2025:0922
AlmaLinux:8podman-catatonit4:4.9.4-19.module_el8.10.0+3959+b8dc5e6aALSA-2025:1372
AlmaLinux:8podman-docker4:4.9.4-19.module_el8.10.0+3959+b8dc5e6aALSA-2025:1372
AlmaLinux:9podman-docker4:5.2.2-13.el9_5ALSA-2025:0922
AlmaLinux:8podman-gvproxy4:4.9.4-19.module_el8.10.0+3959+b8dc5e6aALSA-2025:1372
AlmaLinux:8podman-plugins4:4.9.4-19.module_el8.10.0+3959+b8dc5e6aALSA-2025:1372
AlmaLinux:9podman-plugins4:5.2.2-13.el9_5ALSA-2025:0922
AlmaLinux:8podman-remote4:4.9.4-19.module_el8.10.0+3959+b8dc5e6aALSA-2025:1372
AlmaLinux:9podman-remote4:5.2.2-13.el9_5ALSA-2025:0922
AlmaLinux:8podman-tests4:4.9.4-19.module_el8.10.0+3959+b8dc5e6aALSA-2025:1372
AlmaLinux:9podman-tests4:5.2.2-13.el9_5ALSA-2025:0922
AlmaLinux:8python3-criu3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2025:1372
AlmaLinux:8python3-criu3.18-5.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8python3-criu3.18-5.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8python3-criu3.18-5.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8python3-podman4.9.0-3.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8runc1:1.1.12-6.module_el8.10.0+3959+b8dc5e6aALSA-2025:1372
AlmaLinux:8skopeo2:1.14.5-3.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8skopeo2:1.14.5-3.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8skopeo2:1.14.5-3.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8skopeo2:1.14.5-3.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8skopeo-tests2:1.14.5-3.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8skopeo-tests2:1.14.5-3.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8slirp4netns1.2.3-1.module_el8.10.0+3845+87b84552ALSA-2025:1372
AlmaLinux:8slirp4netns1.2.3-1.module_el8.10.0+3926+f12484f5ALSA-2025:1372
AlmaLinux:8slirp4netns1.2.3-1.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8slirp4netns1.2.3-1.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8toolbox0.0.99.5-2.module_el8.10.0+3901+4b80ecd7ALSA-2025:1372
AlmaLinux:8toolbox0.0.99.5-2.module_el8.10.0+3858+6ad51f9fALSA-2025:1372
AlmaLinux:8toolbox0.0.99.5-2.module_el8.10.0+3845+87b84552ALSA-2025:1372
AlmaLinux:8toolbox0.0.99.5-2.module_el8.10.0+3876+e55593a8ALSA-2025:1372
AlmaLinux:8toolbox-tests0.0.99.5-2.module_el8.10.0+3858+6ad51f9fALSA-2025:1372
AlmaLinux:8toolbox-tests0.0.99.5-2.module_el8.10.0+3909+6e1c1eb7ALSA-2025:1372
AlmaLinux:8udica0.2.6-21.module_el8.10.0+3926+f12484f5ALSA-2025:1372
Alpine:v3.21buildah1.38.1-r0ALPINE-CVE-2024-11218
Alpine:v3.22buildah1.38.1-r0ALPINE-CVE-2024-11218
Alpine:v3.23buildah1.38.1-r0ALPINE-CVE-2024-11218
Alpine:v3.24buildah1.38.1-r0ALPINE-CVE-2024-11218
Alpine:v3.21podman5.3.2-r0ALPINE-CVE-2024-11218
Alpine:v3.22podman5.3.2-r0ALPINE-CVE-2024-11218
Alpine:v3.23podman5.3.2-r0ALPINE-CVE-2024-11218
Alpine:v3.24podman5.3.2-r0ALPINE-CVE-2024-11218
Debian:12golang-github-containers-buildahno fix listedDEBIAN-CVE-2024-11218
Debian:13golang-github-containers-buildah1.38.1+ds1-1DEBIAN-CVE-2024-11218
Debian:14golang-github-containers-buildah1.38.1+ds1-1DEBIAN-CVE-2024-11218
Gogithub.com/containers/buildah1.35.5GHSA-5vpc-35f4-r8w6
Gogithub.com/containers/buildah1.38.1GHSA-5vpc-35f4-r8w6
Gogithub.com/containers/buildah1.37.6GHSA-5vpc-35f4-r8w6
Gogithub.com/containers/buildah1.33.12GHSA-5vpc-35f4-r8w6
Gogithub.com/containers/buildah1.33.12, 1.35.5, 1.37.6, 1.38.1GO-2025-3414
Rocky Linux:8aardvark-dns2:1.10.1-2.module+el8.10.0+1874+ce489889RLSA-2025:1372
Rocky Linux:8buildah2:1.33.12-1.module+el8.10.0+1933+1fc610b1RLSA-2025:1372
Rocky Linux:9buildah2:1.37.6-1.el9_5RLSA-2025:0923
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Rocky Linux:8conmon3:2.1.10-1.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Rocky Linux:8container-selinux2:2.229.0-2.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Rocky Linux:8containernetworking-plugins1:1.4.0-5.module+el8.10.0+1843+6892ab28RLSA-2025:1372
Rocky Linux:8containers-common2:1-82.module+el8.10.0+1843+6892ab28RLSA-2025:1372
Rocky Linux:8criu0:3.18-5.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Rocky Linux:8crun0:1.14.3-2.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Rocky Linux:8fuse-overlayfs0:1.13-1.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Rocky Linux:8libslirp0:4.4.0-2.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Rocky Linux:8netavark2:1.10.3-1.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Rocky Linux:8oci-seccomp-bpf-hook0:1.2.10-1.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Rocky Linux:8podman4:4.9.4-19.module+el8.10.0+1933+1fc610b1RLSA-2025:1372
Rocky Linux:9podman4:5.2.2-13.el9_5RLSA-2025:0922
Rocky Linux:8python-podman0:4.9.0-3.module+el8.10.0+1896+b18fa106RLSA-2025:1372
Rocky Linux:8runc1:1.1.12-6.module+el8.10.0+1933+1fc610b1RLSA-2025:1372
Rocky Linux:8skopeo2:1.14.5-3.module+el8.10.0+1843+6892ab28RLSA-2025:1372
Rocky Linux:8slirp4netns0:1.2.3-1.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Rocky Linux:8toolbox0:0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2RLSA-2025:1372
Rocky Linux:8udica0:0.2.6-21.module+el8.10.0+1815+5fe7415eRLSA-2025:1372
Ubuntu:25.10podmanno fix listedUBUNTU-CVE-2024-11218
Ubuntu:26.10podmanno fix listedUBUNTU-CVE-2024-11218

Affected products (as reported)

VendorProductVersions
buildah 0 – before 1.33.121.35.0 – before 1.35.51.37.0 – before 1.37.61.38.0 – before 1.38.1
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support see references
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service see references
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support see references
Red Hat Red Hat OpenShift Container Platform 4.12 see references
Red Hat Red Hat OpenShift Container Platform 4.12 see references
Red Hat Red Hat OpenShift Container Platform 4.13 see references
Red Hat Red Hat OpenShift Container Platform 4.13 see references
Red Hat Red Hat OpenShift Container Platform 4.13 see references
Red Hat Red Hat OpenShift Container Platform 4.14 see references
Red Hat Red Hat OpenShift Container Platform 4.14 see references
Red Hat Red Hat OpenShift Container Platform 4.14 see references
Red Hat Red Hat OpenShift Container Platform 4.14 see references
Red Hat Red Hat OpenShift Container Platform 4.15 see references
Red Hat Red Hat OpenShift Container Platform 4.15 see references
Red Hat Red Hat OpenShift Container Platform 4.15 see references
Red Hat Red Hat OpenShift Container Platform 4.15 see references
Red Hat Red Hat OpenShift Container Platform 4.16 see references
Red Hat Red Hat OpenShift Container Platform 4.16 see references
Red Hat Red Hat OpenShift Container Platform 4.16 see references

Weakness: CWE-269 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References