CVE-2024-11218Podman: buildah: container breakout by using --jobs=2 and a race condition when building…
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | podman | Fix pending | UBUNTU-CVE-2024-11218 | |
| Ubuntu 26.04 | podman | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | podman | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-11218 | |
| Debian 14 | golang-github-containers-buildah | Fixed | 1.38.1+ds1-1 | DEBIAN-CVE-2024-11218 |
| Debian 13 | golang-github-containers-buildah | Fixed | 1.38.1+ds1-1 | DEBIAN-CVE-2024-11218 |
| Debian 12 | golang-github-containers-buildah | Fix pending | DEBIAN-CVE-2024-11218 | |
| Red Hat Enterprise Linux 10 | buildah | Not affected | ||
| Red Hat Enterprise Linux 10 | buildah-tests | Not affected | ||
| Red Hat Enterprise Linux 10 | podman | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | podman-docker | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | podman-remote | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | podman-tests | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | buildah | Fixed | 2:1.37.6-1.el9_5 | RHSA-2025:0923 |
| Red Hat Enterprise Linux 9 | buildah-tests | Fixed | 2:1.37.6-1.el9_5 | RHSA-2025:0923 |
| Red Hat Enterprise Linux 9 | podman | Fixed | 4:5.2.2-13.el9_5 | RHSA-2025:0922 |
| Red Hat Enterprise Linux 9 | podman-docker | Fixed | 4:5.2.2-13.el9_5 | RHSA-2025:0922 |
| Red Hat Enterprise Linux 9 | podman-plugins | Fixed | 4:5.2.2-13.el9_5 | RHSA-2025:0922 |
| Red Hat Enterprise Linux 9 | podman-remote | Fixed | 4:5.2.2-13.el9_5 | RHSA-2025:0922 |
| Red Hat Enterprise Linux 9 | podman-tests | Fixed | 4:5.2.2-13.el9_5 | RHSA-2025:0922 |
| Red Hat Enterprise Linux 8 | aardvark-dns | Fixed | 2:1.10.1-2.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | buildah | Fixed | 2:1.33.12-1.module+el8.10.0+22744+7794713b | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | buildah-tests | Fixed | 2:1.33.12-1.module+el8.10.0+22744+7794713b | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fixed | 1:1.4.0-5.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | containers-common | Fixed | 2:1-82.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | crit | Fixed | 0:3.18-5.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | criu | Fixed | 0:3.18-5.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | criu-devel | Fixed | 0:3.18-5.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | criu-libs | Fixed | 0:3.18-5.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | libslirp | Fixed | 0:4.4.0-2.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | libslirp-devel | Fixed | 0:4.4.0-2.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | netavark | Fixed | 2:1.10.3-1.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | podman | Fixed | 4:4.9.4-19.module+el8.10.0+22744+7794713b | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | podman-catatonit | Fixed | 4:4.9.4-19.module+el8.10.0+22744+7794713b | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | podman-docker | Fixed | 4:4.9.4-19.module+el8.10.0+22744+7794713b | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fixed | 4:4.9.4-19.module+el8.10.0+22744+7794713b | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | podman-plugins | Fixed | 4:4.9.4-19.module+el8.10.0+22744+7794713b | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | podman-remote | Fixed | 4:4.9.4-19.module+el8.10.0+22744+7794713b | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | podman-tests | Fixed | 4:4.9.4-19.module+el8.10.0+22744+7794713b | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | python-podman | Fixed | 0:4.9.0-3.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | python3-criu | Fixed | 0:3.18-5.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | python3-podman | Fixed | 0:4.9.0-3.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | runc | Fixed | 1:1.1.12-6.module+el8.10.0+22722+0028f543 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | skopeo | Fixed | 2:1.14.5-3.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | skopeo-tests | Fixed | 2:1.14.5-3.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | slirp4netns | Fixed | 0:1.2.3-1.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | toolbox | Fixed | 0:0.0.99.5-2.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | toolbox-tests | Fixed | 0:0.0.99.5-2.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| Red Hat Enterprise Linux 8 | udica | Fixed | 0:0.2.6-21.module+el8.10.0+22417+2fb00970 | RHSA-2025:1372 |
| AlmaLinux 9 | buildah | Fixed | 2:1.37.6-1.el9_5 | ALSA-2025:0923 |
| AlmaLinux 9 | buildah-tests | Fixed | 2:1.37.6-1.el9_5 | ALSA-2025:0923 |
| AlmaLinux 9 | podman | Fixed | 4:5.2.2-13.el9_5 | ALSA-2025:0922 |
| AlmaLinux 9 | podman-docker | Fixed | 4:5.2.2-13.el9_5 | ALSA-2025:0922 |
| AlmaLinux 9 | podman-plugins | Fixed | 4:5.2.2-13.el9_5 | ALSA-2025:0922 |
| AlmaLinux 9 | podman-remote | Fixed | 4:5.2.2-13.el9_5 | ALSA-2025:0922 |
| AlmaLinux 9 | podman-tests | Fixed | 4:5.2.2-13.el9_5 | ALSA-2025:0922 |
| AlmaLinux 8 | aardvark-dns | Fixed | 2:1.10.1-2.module_el8.10.0+3901+4b80ecd7 | ALSA-2025:1372 |
| AlmaLinux 8 | buildah | Fixed | 2:1.33.12-1.module_el8.10.0+3959+b8dc5e6a | ALSA-2025:1372 |
| AlmaLinux 8 | buildah-tests | Fixed | 2:1.33.12-1.module_el8.10.0+3959+b8dc5e6a | ALSA-2025:1372 |
| AlmaLinux 8 | cockpit-podman | Fixed | 84.1-1.module_el8.10.0+3876+e55593a8 | ALSA-2025:1372 |
| AlmaLinux 8 | conmon | Fixed | 3:2.1.10-1.module_el8.10.0+3901+4b80ecd7 | ALSA-2025:1372 |
| AlmaLinux 8 | container-selinux | Fixed | 2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7 | ALSA-2025:1372 |
| AlmaLinux 8 | containernetworking-plugins | Fixed | 1:1.4.0-5.module_el8.10.0+3926+f12484f5 | ALSA-2025:1372 |
| AlmaLinux 8 | containers-common | Fixed | 2:1-82.module_el8.10.0+3876+e55593a8 | ALSA-2025:1372 |
| AlmaLinux 8 | crit | Fixed | 3.18-5.module_el8.10.0+3858+6ad51f9f | ALSA-2025:1372 |
| AlmaLinux 8 | criu | Fixed | 3.18-5.module_el8.10.0+3909+6e1c1eb7 | ALSA-2025:1372 |
| AlmaLinux 8 | criu-devel | Fixed | 3.18-5.module_el8.10.0+3858+6ad51f9f | ALSA-2025:1372 |
| AlmaLinux 8 | criu-libs | Fixed | 3.18-5.module_el8.10.0+3909+6e1c1eb7 | ALSA-2025:1372 |
| AlmaLinux 8 | crun | Fixed | 1.14.3-2.module_el8.10.0+3926+f12484f5 | ALSA-2025:1372 |
| AlmaLinux 8 | fuse-overlayfs | Fixed | 1.13-1.module_el8.10.0+3901+4b80ecd7 | ALSA-2025:1372 |
| AlmaLinux 8 | libslirp | Fixed | 4.4.0-2.module_el8.10.0+3845+87b84552 | ALSA-2025:1372 |
| AlmaLinux 8 | libslirp-devel | Fixed | 4.4.0-2.module_el8.10.0+3901+4b80ecd7 | ALSA-2025:1372 |
| AlmaLinux 8 | netavark | Fixed | 2:1.10.3-1.module_el8.10.0+3858+6ad51f9f | ALSA-2025:1372 |
| AlmaLinux 8 | oci-seccomp-bpf-hook | Fixed | 1.2.10-1.module_el8.10.0+3792+03eaed9c | ALSA-2025:1372 |
| AlmaLinux 8 | podman | Fixed | 4:4.9.4-19.module_el8.10.0+3959+b8dc5e6a | ALSA-2025:1372 |
| AlmaLinux 8 | podman-catatonit | Fixed | 4:4.9.4-19.module_el8.10.0+3959+b8dc5e6a | ALSA-2025:1372 |
| AlmaLinux 8 | podman-docker | Fixed | 4:4.9.4-19.module_el8.10.0+3959+b8dc5e6a | ALSA-2025:1372 |
| AlmaLinux 8 | podman-gvproxy | Fixed | 4:4.9.4-19.module_el8.10.0+3959+b8dc5e6a | ALSA-2025:1372 |
| AlmaLinux 8 | podman-plugins | Fixed | 4:4.9.4-19.module_el8.10.0+3959+b8dc5e6a | ALSA-2025:1372 |
| AlmaLinux 8 | podman-remote | Fixed | 4:4.9.4-19.module_el8.10.0+3959+b8dc5e6a | ALSA-2025:1372 |
| AlmaLinux 8 | podman-tests | Fixed | 4:4.9.4-19.module_el8.10.0+3959+b8dc5e6a | ALSA-2025:1372 |
| AlmaLinux 8 | python3-criu | Fixed | 3.18-5.module_el8.10.0+3876+e55593a8 | ALSA-2025:1372 |
| AlmaLinux 8 | python3-podman | Fixed | 4.9.0-3.module_el8.10.0+3926+f12484f5 | ALSA-2025:1372 |
| AlmaLinux 8 | runc | Fixed | 1:1.1.12-6.module_el8.10.0+3959+b8dc5e6a | ALSA-2025:1372 |
| AlmaLinux 8 | skopeo | Fixed | 2:1.14.5-3.module_el8.10.0+3926+f12484f5 | ALSA-2025:1372 |
| AlmaLinux 8 | skopeo-tests | Fixed | 2:1.14.5-3.module_el8.10.0+3876+e55593a8 | ALSA-2025:1372 |
| AlmaLinux 8 | slirp4netns | Fixed | 1.2.3-1.module_el8.10.0+3926+f12484f5 | ALSA-2025:1372 |
| AlmaLinux 8 | toolbox | Fixed | 0.0.99.5-2.module_el8.10.0+3901+4b80ecd7 | ALSA-2025:1372 |
| AlmaLinux 8 | toolbox-tests | Fixed | 0.0.99.5-2.module_el8.10.0+3909+6e1c1eb7 | ALSA-2025:1372 |
| AlmaLinux 8 | udica | Fixed | 0.2.6-21.module_el8.10.0+3926+f12484f5 | ALSA-2025:1372 |
| Rocky Linux 9 | buildah | Fixed | 2:1.37.6-1.el9_5 | RLSA-2025:0923 |
| Rocky Linux 9 | podman | Fixed | 4:5.2.2-13.el9_5 | RLSA-2025:0922 |
| Rocky Linux 8 | aardvark-dns | Fixed | 2:1.10.1-2.module+el8.10.0+1874+ce489889 | RLSA-2025:1372 |
| Rocky Linux 8 | buildah | Fixed | 2:1.33.12-1.module+el8.10.0+1933+1fc610b1 | RLSA-2025:1372 |
| Rocky Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Rocky Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Rocky Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Rocky Linux 8 | containernetworking-plugins | Fixed | 1:1.4.0-5.module+el8.10.0+1843+6892ab28 | RLSA-2025:1372 |
| Rocky Linux 8 | containers-common | Fixed | 2:1-82.module+el8.10.0+1843+6892ab28 | RLSA-2025:1372 |
| Rocky Linux 8 | criu | Fixed | 0:3.18-5.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Rocky Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Rocky Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Rocky Linux 8 | libslirp | Fixed | 0:4.4.0-2.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Rocky Linux 8 | netavark | Fixed | 2:1.10.3-1.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Rocky Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Rocky Linux 8 | podman | Fixed | 4:4.9.4-19.module+el8.10.0+1933+1fc610b1 | RLSA-2025:1372 |
| Rocky Linux 8 | python-podman | Fixed | 0:4.9.0-3.module+el8.10.0+1896+b18fa106 | RLSA-2025:1372 |
| Rocky Linux 8 | runc | Fixed | 1:1.1.12-6.module+el8.10.0+1933+1fc610b1 | RLSA-2025:1372 |
| Rocky Linux 8 | skopeo | Fixed | 2:1.14.5-3.module+el8.10.0+1843+6892ab28 | RLSA-2025:1372 |
| Rocky Linux 8 | slirp4netns | Fixed | 0:1.2.3-1.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Rocky Linux 8 | toolbox | Fixed | 0:0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2 | RLSA-2025:1372 |
| Rocky Linux 8 | udica | Fixed | 0:0.2.6-21.module+el8.10.0+1815+5fe7415e | RLSA-2025:1372 |
| Alpine Linux 3.24 | buildah | Fixed | 1.38.1-r0 | ALPINE-CVE-2024-11218 |
| Alpine Linux 3.24 | podman | Fixed | 5.3.2-r0 | ALPINE-CVE-2024-11218 |
| Alpine Linux 3.23 | buildah | Fixed | 1.38.1-r0 | ALPINE-CVE-2024-11218 |
| Alpine Linux 3.23 | podman | Fixed | 5.3.2-r0 | ALPINE-CVE-2024-11218 |
| Alpine Linux 3.22 | buildah | Fixed | 1.38.1-r0 | ALPINE-CVE-2024-11218 |
| Alpine Linux 3.22 | podman | Fixed | 5.3.2-r0 | ALPINE-CVE-2024-11218 |
| Alpine Linux 3.21 | buildah | Fixed | 1.38.1-r0 | ALPINE-CVE-2024-11218 |
| Alpine Linux 3.21 | podman | Fixed | 5.3.2-r0 | ALPINE-CVE-2024-11218 |
| Go library | github.com/containers/buildah | Fixed | 1.38.1 | GO-2025-3414 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- buildah: affected: before 1.33.12, 1.35.0 to before 1.35.5, 1.37.0 to before 1.37.6, 1.38.0 to before 1.38.1; fixed in
1.33.12,1.35.5,1.37.6,1.38.1 - Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
- Red Hat Enterprise Linux 8.8 Extended Update Support
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9.2 Extended Update Support
- Red Hat Enterprise Linux 9.4 Extended Update Support
- Red Hat OpenShift Container Platform 4.12
- Red Hat OpenShift Container Platform 4.13
Workaround: Mandatory access controls should limit the access of the process performing the build, on systems where they are enabled. SELinux enforces strict access controls by confining the build process (e.g., Podman) to specific domains like container_t. This prevents unauthorized access to sensitive host files and directories, even if a malicious Containerfile tries to exploit the --mount flag.
Vendor advisories:
- https://access.redhat.com/errata/RHEA-2024:6126 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:0830 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:0878 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:0922 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:0923 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:1186 (vendor-advisory)
References
- https://access.redhat.com/errata/RHEA-2024:6126
- https://access.redhat.com/errata/RHSA-2025:0830
- https://access.redhat.com/errata/RHSA-2025:0878
- https://access.redhat.com/errata/RHSA-2025:0922
- https://access.redhat.com/errata/RHSA-2025:0923
- https://access.redhat.com/errata/RHSA-2025:1186
- https://access.redhat.com/errata/RHSA-2025:1187
- https://access.redhat.com/errata/RHSA-2025:1188
- https://access.redhat.com/errata/RHSA-2025:1189
- https://access.redhat.com/errata/RHSA-2025:1207
- https://access.redhat.com/errata/RHSA-2025:1275
- https://access.redhat.com/errata/RHSA-2025:1295
- https://access.redhat.com/errata/RHSA-2025:1296
- https://access.redhat.com/errata/RHSA-2025:1372
- https://access.redhat.com/errata/RHSA-2025:1453
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.