CVE-2024-1753Buildah: buildah: container escape via improper bind mount validation
A flaw was found in Buildah (and subsequently Podman Build) which allows containers to mount arbitrary locations on the host filesystem into build containers. A malicious Containerfile can use a dummy image with a symbolic link to the root filesystem as a mount source and cause the mount operation to mount the host root filesystem inside the RUN step. The commands inside the RUN step will then have read-write access to the host filesystem, allowing for full container escape at build time.
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, 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 | golang-github-containers-buildah | Fix pending | UBUNTU-CVE-2024-1753 | |
| Ubuntu 26.04 | golang-github-containers-buildah | Fix pending | UBUNTU-CVE-2024-1753 | |
| Ubuntu 25.10 | golang-github-containers-buildah | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-1753 | |
| Ubuntu 24.04 | golang-github-containers-buildah | Fix pending | UBUNTU-CVE-2024-1753 | |
| Ubuntu 22.04 | golang-github-containers-buildah | Under investigation | UBUNTU-CVE-2024-1753 | |
| Debian 14 | golang-github-containers-buildah | Fixed | 1.33.7+ds1-1 | DEBIAN-CVE-2024-1753 |
| Debian 13 | golang-github-containers-buildah | Fixed | 1.33.7+ds1-1 | DEBIAN-CVE-2024-1753 |
| Debian 12 | golang-github-containers-buildah | Fix pending | DEBIAN-CVE-2024-1753 | |
| Red Hat Enterprise Linux 9 | buildah | Fixed | 1:1.31.5-1.el9_3 | RHSA-2024:2055 |
| Red Hat Enterprise Linux 9 | buildah-tests | Fixed | 1:1.31.5-1.el9_3 | RHSA-2024:2055 |
| Red Hat Enterprise Linux 9 | podman | Fixed | 4:4.9.4-3.el9_4 | RHSA-2024:2548 |
| Red Hat Enterprise Linux 9 | podman-docker | Fixed | 4:4.9.4-3.el9_4 | RHSA-2024:2548 |
| Red Hat Enterprise Linux 9 | podman-plugins | Fixed | 4:4.9.4-3.el9_4 | RHSA-2024:2548 |
| Red Hat Enterprise Linux 9 | podman-remote | Fixed | 4:4.9.4-3.el9_4 | RHSA-2024:2548 |
| Red Hat Enterprise Linux 9 | podman-tests | Fixed | 4:4.9.4-3.el9_4 | RHSA-2024:2548 |
| Red Hat Enterprise Linux 8 | aardvark-dns | Fixed | 2:1.7.0-1.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | buildah | Fixed | 1:1.24.7-1.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | buildah-tests | Fixed | 1:1.24.7-1.module+el8.9.0+21673+408ce8ab | RHSA-2024:2098 |
| Red Hat Enterprise Linux 8 | cockpit-podman | Fixed | 0:75-1.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+21077+98b84d8a | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+21196+3f0abbca | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fixed | 1:1.3.0-8.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | containers-common | Fixed | 2:1-38.module+el8.9.0+21673+408ce8ab | RHSA-2024:2098 |
| Red Hat Enterprise Linux 8 | crit | Fixed | 0:3.15-3.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | criu | Fixed | 0:3.18-4.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | criu-devel | Fixed | 0:3.15-3.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | criu-libs | Fixed | 0:3.18-5.module+el8.10.0+21672+01ba06ae | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | crun | Fixed | 0:1.8.7-1.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | fuse-overlayfs | Fixed | 0:1.12-1.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | libslirp | Fixed | 0:4.4.0-1.module+el8.9.0+21673+408ce8ab | RHSA-2024:2098 |
| Red Hat Enterprise Linux 8 | libslirp-devel | Fixed | 0:4.4.0-1.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | netavark | Fixed | 2:1.0.1-38.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.5-2.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | podman | Fixed | 4:4.9.4-1.module+el8.10.0+21632+761e0d34 | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | podman-catatonit | Fixed | 2:4.0.2-26.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | podman-docker | Fixed | 4:4.9.4-1.module+el8.10.0+21632+761e0d34 | RHSA-2024:2098 |
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fixed | 4:4.9.4-1.module+el8.10.0+21632+761e0d34 | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | podman-plugins | Fixed | 3:4.6.1-9.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | podman-remote | Fixed | 3:4.6.1-9.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | podman-tests | Fixed | 3:4.6.1-9.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | python-podman | Fixed | 0:4.9.0-1.module+el8.10.0+21196+3f0abbca | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | python3-criu | Fixed | 0:3.18-4.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:2084 |
| Red Hat Enterprise Linux 8 | python3-podman | Fixed | 0:4.0.0-2.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | runc | Fixed | 1:1.1.12-1.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | skopeo | Fixed | 2:1.6.2-9.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | skopeo-tests | Fixed | 2:1.6.2-9.module+el8.9.0+21673+408ce8ab | RHSA-2024:2098 |
| Red Hat Enterprise Linux 8 | slirp4netns | Fixed | 0:1.1.8-3.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | toolbox | Fixed | 0:0.0.99.4-5.module+el8.9.0+21697+6a5e98e7 | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | toolbox-tests | Fixed | 0:0.0.99.4-5.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 8 | udica | Fixed | 0:0.2.6-4.module+el8.9.0+21673+408ce8ab | RHSA-2024:3254 |
| Red Hat Enterprise Linux 7 | buildah | Not affected | ||
| Red Hat Enterprise Linux 7 | podman | Will not fix Out of support scope | ||
| AlmaLinux 9 | buildah | Fixed | 1:1.31.5-1.el9_3 | ALSA-2024:2055 |
| AlmaLinux 9 | buildah-tests | Fixed | 1:1.31.5-1.el9_3 | ALSA-2024:2055 |
| AlmaLinux 9 | podman | Fixed | 4:4.9.4-3.el9_4 | ALSA-2024:2548 |
| AlmaLinux 9 | podman-docker | Fixed | 4:4.9.4-3.el9_4 | ALSA-2024:2548 |
| AlmaLinux 9 | podman-plugins | Fixed | 4:4.9.4-3.el9_4 | ALSA-2024:2548 |
| AlmaLinux 9 | podman-remote | Fixed | 4:4.9.4-3.el9_4 | ALSA-2024:2548 |
| AlmaLinux 9 | podman-tests | Fixed | 4:4.9.4-3.el9_4 | ALSA-2024:2548 |
| AlmaLinux 8 | aardvark-dns | Fixed | 2:1.7.0-1.module_el8.9.0+3657+d86e192f | ALSA-2024:3254 |
| AlmaLinux 8 | buildah | Fixed | 2:1.33.7-1.module_el8.10.0+3845+87b84552 | ALSA-2024:2098 |
| AlmaLinux 8 | buildah-tests | Fixed | 2:1.33.7-1.module_el8.10.0+3845+87b84552 | ALSA-2024:2098 |
| AlmaLinux 8 | cockpit-podman | Fixed | 75-1.module_el8.9.0+3797+9f808d65 | ALSA-2024:3254 |
| AlmaLinux 8 | conmon | Fixed | 2:2.1.4-2.module_el8.9.0+3821+d7d58347 | ALSA-2024:2084 |
| AlmaLinux 8 | container-selinux | Fixed | 2:2.229.0-1.module_el8.9.0+3755+bc5f21db | ALSA-2024:2084 |
| AlmaLinux 8 | containernetworking-plugins | Fixed | 1:1.3.0-8.module_el8.9.0+3717+81096349 | ALSA-2024:2084 |
| AlmaLinux 8 | containers-common | Fixed | 2:1-38.module_el8.9.0+3821+d7d58347 | ALSA-2024:2084 |
| AlmaLinux 8 | crit | Fixed | 3.18-5.module_el8.10.0+3845+87b84552 | ALSA-2024:2098 |
| AlmaLinux 8 | criu | Fixed | 3.18-5.module_el8.10.0+3845+87b84552 | ALSA-2024:2098 |
| AlmaLinux 8 | criu-devel | Fixed | 3.18-4.module_el8.9.0+3717+81096349 | ALSA-2024:2084 |
| AlmaLinux 8 | criu-libs | Fixed | 3.15-3.module_el8.9.0+3821+d7d58347 | ALSA-2024:3254 |
| AlmaLinux 8 | crun | Fixed | 1.8.7-1.module_el8.9.0+3643+9234dc3b | ALSA-2024:2084 |
| AlmaLinux 8 | fuse-overlayfs | Fixed | 1.12-1.module_el8.9.0+3643+9234dc3b | ALSA-2024:2084 |
| AlmaLinux 8 | libslirp | Fixed | 4.4.0-2.module_el8.10.0+3845+87b84552 | ALSA-2024:2084 |
| AlmaLinux 8 | libslirp-devel | Fixed | 4.4.0-1.module_el8.8.0+3615+3543c705 | ALSA-2024:3254 |
| AlmaLinux 8 | netavark | Fixed | 2:1.0.1-38.module_el8.9.0+3627+db8ec155 | ALSA-2024:2084 |
| AlmaLinux 8 | oci-seccomp-bpf-hook | Fixed | 1.2.10-1.module_el8.10.0+3792+03eaed9c | ALSA-2024:2084 |
| AlmaLinux 8 | podman | Fixed | 4:4.9.4-1.module_el8.10.0+3845+87b84552 | ALSA-2024:2084 |
| AlmaLinux 8 | podman-catatonit | Fixed | 2:4.0.2-26.module_el8.9.0+3722+7fd8ab2b.alma.1 | ALSA-2024:3254 |
| AlmaLinux 8 | podman-docker | Fixed | 4:4.9.4-1.module_el8.10.0+3845+87b84552 | ALSA-2024:2098 |
| AlmaLinux 8 | podman-gvproxy | Fixed | 3:4.6.1-9.module_el8.9.0+3823+03810114 | ALSA-2024:3254 |
| AlmaLinux 8 | podman-plugins | Fixed | 2:4.0.2-26.module_el8.9.0+3722+7fd8ab2b.alma.1 | ALSA-2024:3254 |
| AlmaLinux 8 | podman-remote | Fixed | 3:4.6.1-9.module_el8.9.0+3823+03810114 | ALSA-2024:3254 |
| AlmaLinux 8 | podman-tests | Fixed | 2:4.0.2-26.module_el8.9.0+3821+d7d58347.alma.1 | ALSA-2024:2084 |
| AlmaLinux 8 | python3-criu | Fixed | 3.18-5.module_el8.10.0+3845+87b84552 | ALSA-2024:2098 |
| AlmaLinux 8 | python3-podman | Fixed | 4.9.0-1.module_el8.10.0+3792+03eaed9c | ALSA-2024:2098 |
| AlmaLinux 8 | runc | Fixed | 1:1.1.12-1.module_el8.9.0+3722+7fd8ab2b | ALSA-2024:2084 |
| AlmaLinux 8 | skopeo | Fixed | 2:1.14.3-2.module_el8.10.0+3845+87b84552 | ALSA-2024:2098 |
| AlmaLinux 8 | skopeo-tests | Fixed | 2:1.6.2-9.module_el8.9.0+3687+dcd7ef8f.alma.1 | ALSA-2024:3254 |
| AlmaLinux 8 | slirp4netns | Fixed | 1.1.8-3.module_el8.9.0+3821+d7d58347 | ALSA-2024:2098 |
| AlmaLinux 8 | toolbox | Fixed | 0.0.99.4-5.module_el8.9.0+3755+bc5f21db | ALSA-2024:2084 |
| AlmaLinux 8 | toolbox-tests | Fixed | 0.0.99.5-2.module_el8.10.0+3845+87b84552 | ALSA-2024:2084 |
| AlmaLinux 8 | udica | Fixed | 0.2.6-21.module_el8.10.0+3845+87b84552 | ALSA-2024:2098 |
| Rocky Linux 9 | podman | Fixed | 4:4.9.4-3.el9_4 | RLSA-2024:2548 |
| Rocky Linux 8 | aardvark-dns | Fixed | 2:1.10.0-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2098 |
| Rocky Linux 8 | buildah | Fixed | 1:1.31.5-1.module+el8.9.0+1796+73260e20 | RLSA-2024:3254 |
| Rocky Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2098 |
| Rocky Linux 8 | conmon | Fixed | 3:2.1.8-1.module+el8.9.0+1444+82dcc378 | RLSA-2024:2084 |
| Rocky Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+1815+5fe7415e | RLSA-2024:2084 |
| Rocky Linux 8 | containernetworking-plugins | Fixed | 1:1.1.1-6.module+el8.9.0+1653+32675f1c | RLSA-2024:3254 |
| Rocky Linux 8 | containers-common | Fixed | 2:1-38.module+el8.9.0+1445+07728297 | RLSA-2024:2098 |
| Rocky Linux 8 | criu | Fixed | 0:3.15-3.module+el8.9.0+1445+07728297 | RLSA-2024:3254 |
| Rocky Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+1815+5fe7415e | RLSA-2024:2084 |
| Rocky Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2098 |
| Rocky Linux 8 | libslirp | Fixed | 0:4.4.0-2.module+el8.10.0+1815+5fe7415e | RLSA-2024:2098 |
| Rocky Linux 8 | netavark | Fixed | 2:1.7.0-2.module+el8.9.0+1703+29de406e | RLSA-2024:3254 |
| Rocky Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2084 |
| Rocky Linux 8 | podman | Fixed | 3:4.6.1-9.module+el8.9.0+1796+73260e20 | RLSA-2024:3254 |
| Rocky Linux 8 | python-podman | Fixed | 0:4.9.0-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2098 |
| Rocky Linux 8 | runc | Fixed | 1:1.1.12-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:2084 |
| Rocky Linux 8 | skopeo | Fixed | 2:1.6.2-9.module+el8.9.0+1578+aa900b44 | RLSA-2024:2098 |
| Rocky Linux 8 | slirp4netns | Fixed | 0:1.1.8-3.module+el8.9.0+1445+07728297 | RLSA-2024:2098 |
| Rocky Linux 8 | toolbox | Fixed | 0:0.0.99.4-5.module+el8.9.0+1445+07728297 | RLSA-2024:2098 |
| Rocky Linux 8 | udica | Fixed | 0:0.2.6-20.module+el8.9.0+1420+91577025 | RLSA-2024:3254 |
| Alpine Linux 3.24 | buildah | Fixed | 1.35.4-r0 | ALPINE-CVE-2024-1753 |
| Alpine Linux 3.24 | podman | Fixed | 4.9.4-r0 | ALPINE-CVE-2024-1753 |
| Alpine Linux 3.23 | buildah | Fixed | 1.35.4-r0 | ALPINE-CVE-2024-1753 |
| Alpine Linux 3.23 | podman | Fixed | 4.9.4-r0 | ALPINE-CVE-2024-1753 |
| Alpine Linux 3.22 | buildah | Fixed | 1.35.4-r0 | ALPINE-CVE-2024-1753 |
| Alpine Linux 3.22 | podman | Fixed | 4.9.4-r0 | ALPINE-CVE-2024-1753 |
| Alpine Linux 3.21 | buildah | Fixed | 1.35.4-r0 | ALPINE-CVE-2024-1753 |
| Alpine Linux 3.21 | podman | Fixed | 4.9.4-r0 | ALPINE-CVE-2024-1753 |
| Alpine Linux 3.20 | buildah | Fixed | 1.35.4-r0 | ALPINE-CVE-2024-1753 |
| Alpine Linux 3.20 | podman | Fixed | 4.9.4-r0 | ALPINE-CVE-2024-1753 |
| Go library | github.com/containers/buildah | Fixed | 1.35.1 | GHSA-pmf3-c36m-g5cf |
| Go library | github.com/containers/podman/v4 | Fixed | 4.9.4 | GHSA-874v-pj72-92f3 |
| Go library | github.com/containers/podman/v5 | Fixed | 5.0.1 | GHSA-874v-pj72-92f3 |
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: 4.15.0
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.6 Extended Update Support
- Red Hat Enterprise Linux 8.8 Extended Update Support
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.0 Extended Update Support
- Red Hat Enterprise Linux 9.2 Extended Update Support
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat OpenShift Container Platform 4.12
- Red Hat OpenShift Container Platform 4.13
- Red Hat OpenShift Container Platform 4.14
- Red Hat OpenShift Container Platform 4.15
Workaround: When SELinux is enabled, the container is restricted to limited read-only access.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2024:2049 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:2055 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:2064 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:2066 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:2077 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:2084 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2024:2049
- https://access.redhat.com/errata/RHSA-2024:2055
- https://access.redhat.com/errata/RHSA-2024:2064
- https://access.redhat.com/errata/RHSA-2024:2066
- https://access.redhat.com/errata/RHSA-2024:2077
- https://access.redhat.com/errata/RHSA-2024:2084
- https://access.redhat.com/errata/RHSA-2024:2089
- https://access.redhat.com/errata/RHSA-2024:2090
- https://access.redhat.com/errata/RHSA-2024:2097
- https://access.redhat.com/errata/RHSA-2024:2098
- https://access.redhat.com/errata/RHSA-2024:2548
- https://access.redhat.com/errata/RHSA-2024:2645
- https://access.redhat.com/errata/RHSA-2024:2669
- https://access.redhat.com/errata/RHSA-2024:2672
- https://access.redhat.com/errata/RHSA-2024:2784
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.