CVEfocus › CVE database › CVE-2024-1753

CVE-2024-1753Buildah: buildah: container escape via improper bind mount validation

CVSS 8.6 HighEPSS 0.5% (higher than 36% of CVEs)Published 2024-03-18Updated 2026-11-24Assigner: redhat

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.

CWE-59

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

119Fixed
4Fix pending
1Under investigation
2Will not fix
1Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-github-containers-buildahFix pendingUBUNTU-CVE-2024-1753
Ubuntu 26.04golang-github-containers-buildahFix pendingUBUNTU-CVE-2024-1753
Ubuntu 25.10golang-github-containers-buildahWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-1753
Ubuntu 24.04golang-github-containers-buildahFix pendingUBUNTU-CVE-2024-1753
Ubuntu 22.04golang-github-containers-buildahUnder investigationUBUNTU-CVE-2024-1753
Debian 14golang-github-containers-buildahFixed1.33.7+ds1-1DEBIAN-CVE-2024-1753
Debian 13golang-github-containers-buildahFixed1.33.7+ds1-1DEBIAN-CVE-2024-1753
Debian 12golang-github-containers-buildahFix pendingDEBIAN-CVE-2024-1753
Red Hat Enterprise Linux 9buildahFixed1:1.31.5-1.el9_3RHSA-2024:2055
Red Hat Enterprise Linux 9buildah-testsFixed1:1.31.5-1.el9_3RHSA-2024:2055
Red Hat Enterprise Linux 9podmanFixed4:4.9.4-3.el9_4RHSA-2024:2548
Red Hat Enterprise Linux 9podman-dockerFixed4:4.9.4-3.el9_4RHSA-2024:2548
Red Hat Enterprise Linux 9podman-pluginsFixed4:4.9.4-3.el9_4RHSA-2024:2548
Red Hat Enterprise Linux 9podman-remoteFixed4:4.9.4-3.el9_4RHSA-2024:2548
Red Hat Enterprise Linux 9podman-testsFixed4:4.9.4-3.el9_4RHSA-2024:2548
Red Hat Enterprise Linux 8aardvark-dnsFixed2:1.7.0-1.module+el8.9.0+21697+6a5e98e7RHSA-2024:2084
Red Hat Enterprise Linux 8buildahFixed1:1.24.7-1.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8buildah-testsFixed1:1.24.7-1.module+el8.9.0+21673+408ce8abRHSA-2024:2098
Red Hat Enterprise Linux 8cockpit-podmanFixed0:75-1.module+el8.9.0+21697+6a5e98e7RHSA-2024:2084
Red Hat Enterprise Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+21077+98b84d8aRHSA-2024:2084
Red Hat Enterprise Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+21196+3f0abbcaRHSA-2024:2084
Red Hat Enterprise Linux 8containernetworking-pluginsFixed1:1.3.0-8.module+el8.9.0+21697+6a5e98e7RHSA-2024:3254
Red Hat Enterprise Linux 8containers-commonFixed2:1-38.module+el8.9.0+21673+408ce8abRHSA-2024:2098
Red Hat Enterprise Linux 8critFixed0:3.15-3.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8criuFixed0:3.18-4.module+el8.9.0+21697+6a5e98e7RHSA-2024:3254
Red Hat Enterprise Linux 8criu-develFixed0:3.15-3.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8criu-libsFixed0:3.18-5.module+el8.10.0+21672+01ba06aeRHSA-2024:2084
Red Hat Enterprise Linux 8crunFixed0:1.8.7-1.module+el8.9.0+21697+6a5e98e7RHSA-2024:2084
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:1.12-1.module+el8.9.0+21697+6a5e98e7RHSA-2024:3254
Red Hat Enterprise Linux 8libslirpFixed0:4.4.0-1.module+el8.9.0+21673+408ce8abRHSA-2024:2098
Red Hat Enterprise Linux 8libslirp-develFixed0:4.4.0-1.module+el8.9.0+21697+6a5e98e7RHSA-2024:3254
Red Hat Enterprise Linux 8netavarkFixed2:1.0.1-38.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFixed0:1.2.5-2.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8podmanFixed4:4.9.4-1.module+el8.10.0+21632+761e0d34RHSA-2024:2084
Red Hat Enterprise Linux 8podman-catatonitFixed2:4.0.2-26.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8podman-dockerFixed4:4.9.4-1.module+el8.10.0+21632+761e0d34RHSA-2024:2098
Red Hat Enterprise Linux 8podman-gvproxyFixed4:4.9.4-1.module+el8.10.0+21632+761e0d34RHSA-2024:2084
Red Hat Enterprise Linux 8podman-pluginsFixed3:4.6.1-9.module+el8.9.0+21697+6a5e98e7RHSA-2024:2084
Red Hat Enterprise Linux 8podman-remoteFixed3:4.6.1-9.module+el8.9.0+21697+6a5e98e7RHSA-2024:2084
Red Hat Enterprise Linux 8podman-testsFixed3:4.6.1-9.module+el8.9.0+21697+6a5e98e7RHSA-2024:2084
Red Hat Enterprise Linux 8python-podmanFixed0:4.9.0-1.module+el8.10.0+21196+3f0abbcaRHSA-2024:2084
Red Hat Enterprise Linux 8python3-criuFixed0:3.18-4.module+el8.9.0+21697+6a5e98e7RHSA-2024:2084
Red Hat Enterprise Linux 8python3-podmanFixed0:4.0.0-2.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8runcFixed1:1.1.12-1.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8skopeoFixed2:1.6.2-9.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8skopeo-testsFixed2:1.6.2-9.module+el8.9.0+21673+408ce8abRHSA-2024:2098
Red Hat Enterprise Linux 8slirp4netnsFixed0:1.1.8-3.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8toolboxFixed0:0.0.99.4-5.module+el8.9.0+21697+6a5e98e7RHSA-2024:3254
Red Hat Enterprise Linux 8toolbox-testsFixed0:0.0.99.4-5.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 8udicaFixed0:0.2.6-4.module+el8.9.0+21673+408ce8abRHSA-2024:3254
Red Hat Enterprise Linux 7buildahNot affected
Red Hat Enterprise Linux 7podmanWill not fix
Out of support scope
AlmaLinux 9buildahFixed1:1.31.5-1.el9_3ALSA-2024:2055
AlmaLinux 9buildah-testsFixed1:1.31.5-1.el9_3ALSA-2024:2055
AlmaLinux 9podmanFixed4:4.9.4-3.el9_4ALSA-2024:2548
AlmaLinux 9podman-dockerFixed4:4.9.4-3.el9_4ALSA-2024:2548
AlmaLinux 9podman-pluginsFixed4:4.9.4-3.el9_4ALSA-2024:2548
AlmaLinux 9podman-remoteFixed4:4.9.4-3.el9_4ALSA-2024:2548
AlmaLinux 9podman-testsFixed4:4.9.4-3.el9_4ALSA-2024:2548
AlmaLinux 8aardvark-dnsFixed2:1.7.0-1.module_el8.9.0+3657+d86e192fALSA-2024:3254
AlmaLinux 8buildahFixed2:1.33.7-1.module_el8.10.0+3845+87b84552ALSA-2024:2098
AlmaLinux 8buildah-testsFixed2:1.33.7-1.module_el8.10.0+3845+87b84552ALSA-2024:2098
AlmaLinux 8cockpit-podmanFixed75-1.module_el8.9.0+3797+9f808d65ALSA-2024:3254
AlmaLinux 8conmonFixed2:2.1.4-2.module_el8.9.0+3821+d7d58347ALSA-2024:2084
AlmaLinux 8container-selinuxFixed2:2.229.0-1.module_el8.9.0+3755+bc5f21dbALSA-2024:2084
AlmaLinux 8containernetworking-pluginsFixed1:1.3.0-8.module_el8.9.0+3717+81096349ALSA-2024:2084
AlmaLinux 8containers-commonFixed2:1-38.module_el8.9.0+3821+d7d58347ALSA-2024:2084
AlmaLinux 8critFixed3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:2098
AlmaLinux 8criuFixed3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:2098
AlmaLinux 8criu-develFixed3.18-4.module_el8.9.0+3717+81096349ALSA-2024:2084
AlmaLinux 8criu-libsFixed3.15-3.module_el8.9.0+3821+d7d58347ALSA-2024:3254
AlmaLinux 8crunFixed1.8.7-1.module_el8.9.0+3643+9234dc3bALSA-2024:2084
AlmaLinux 8fuse-overlayfsFixed1.12-1.module_el8.9.0+3643+9234dc3bALSA-2024:2084
AlmaLinux 8libslirpFixed4.4.0-2.module_el8.10.0+3845+87b84552ALSA-2024:2084
AlmaLinux 8libslirp-develFixed4.4.0-1.module_el8.8.0+3615+3543c705ALSA-2024:3254
AlmaLinux 8netavarkFixed2:1.0.1-38.module_el8.9.0+3627+db8ec155ALSA-2024:2084
AlmaLinux 8oci-seccomp-bpf-hookFixed1.2.10-1.module_el8.10.0+3792+03eaed9cALSA-2024:2084
AlmaLinux 8podmanFixed4:4.9.4-1.module_el8.10.0+3845+87b84552ALSA-2024:2084
AlmaLinux 8podman-catatonitFixed2:4.0.2-26.module_el8.9.0+3722+7fd8ab2b.alma.1ALSA-2024:3254
AlmaLinux 8podman-dockerFixed4:4.9.4-1.module_el8.10.0+3845+87b84552ALSA-2024:2098
AlmaLinux 8podman-gvproxyFixed3:4.6.1-9.module_el8.9.0+3823+03810114ALSA-2024:3254
AlmaLinux 8podman-pluginsFixed2:4.0.2-26.module_el8.9.0+3722+7fd8ab2b.alma.1ALSA-2024:3254
AlmaLinux 8podman-remoteFixed3:4.6.1-9.module_el8.9.0+3823+03810114ALSA-2024:3254
AlmaLinux 8podman-testsFixed2:4.0.2-26.module_el8.9.0+3821+d7d58347.alma.1ALSA-2024:2084
AlmaLinux 8python3-criuFixed3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:2098
AlmaLinux 8python3-podmanFixed4.9.0-1.module_el8.10.0+3792+03eaed9cALSA-2024:2098
AlmaLinux 8runcFixed1:1.1.12-1.module_el8.9.0+3722+7fd8ab2bALSA-2024:2084
AlmaLinux 8skopeoFixed2:1.14.3-2.module_el8.10.0+3845+87b84552ALSA-2024:2098
AlmaLinux 8skopeo-testsFixed2:1.6.2-9.module_el8.9.0+3687+dcd7ef8f.alma.1ALSA-2024:3254
AlmaLinux 8slirp4netnsFixed1.1.8-3.module_el8.9.0+3821+d7d58347ALSA-2024:2098
AlmaLinux 8toolboxFixed0.0.99.4-5.module_el8.9.0+3755+bc5f21dbALSA-2024:2084
AlmaLinux 8toolbox-testsFixed0.0.99.5-2.module_el8.10.0+3845+87b84552ALSA-2024:2084
AlmaLinux 8udicaFixed0.2.6-21.module_el8.10.0+3845+87b84552ALSA-2024:2098
Rocky Linux 9podmanFixed4:4.9.4-3.el9_4RLSA-2024:2548
Rocky Linux 8aardvark-dnsFixed2:1.10.0-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2098
Rocky Linux 8buildahFixed1:1.31.5-1.module+el8.9.0+1796+73260e20RLSA-2024:3254
Rocky Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2098
Rocky Linux 8conmonFixed3:2.1.8-1.module+el8.9.0+1444+82dcc378RLSA-2024:2084
Rocky Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:2084
Rocky Linux 8containernetworking-pluginsFixed1:1.1.1-6.module+el8.9.0+1653+32675f1cRLSA-2024:3254
Rocky Linux 8containers-commonFixed2:1-38.module+el8.9.0+1445+07728297RLSA-2024:2098
Rocky Linux 8criuFixed0:3.15-3.module+el8.9.0+1445+07728297RLSA-2024:3254
Rocky Linux 8crunFixed0:1.14.3-2.module+el8.10.0+1815+5fe7415eRLSA-2024:2084
Rocky Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2098
Rocky Linux 8libslirpFixed0:4.4.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:2098
Rocky Linux 8netavarkFixed2:1.7.0-2.module+el8.9.0+1703+29de406eRLSA-2024:3254
Rocky Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2084
Rocky Linux 8podmanFixed3:4.6.1-9.module+el8.9.0+1796+73260e20RLSA-2024:3254
Rocky Linux 8python-podmanFixed0:4.9.0-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2098
Rocky Linux 8runcFixed1:1.1.12-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2084
Rocky Linux 8skopeoFixed2:1.6.2-9.module+el8.9.0+1578+aa900b44RLSA-2024:2098
Rocky Linux 8slirp4netnsFixed0:1.1.8-3.module+el8.9.0+1445+07728297RLSA-2024:2098
Rocky Linux 8toolboxFixed0:0.0.99.4-5.module+el8.9.0+1445+07728297RLSA-2024:2098
Rocky Linux 8udicaFixed0:0.2.6-20.module+el8.9.0+1420+91577025RLSA-2024:3254
Alpine Linux 3.24buildahFixed1.35.4-r0ALPINE-CVE-2024-1753
Alpine Linux 3.24podmanFixed4.9.4-r0ALPINE-CVE-2024-1753
Alpine Linux 3.23buildahFixed1.35.4-r0ALPINE-CVE-2024-1753
Alpine Linux 3.23podmanFixed4.9.4-r0ALPINE-CVE-2024-1753
Alpine Linux 3.22buildahFixed1.35.4-r0ALPINE-CVE-2024-1753
Alpine Linux 3.22podmanFixed4.9.4-r0ALPINE-CVE-2024-1753
Alpine Linux 3.21buildahFixed1.35.4-r0ALPINE-CVE-2024-1753
Alpine Linux 3.21podmanFixed4.9.4-r0ALPINE-CVE-2024-1753
Alpine Linux 3.20buildahFixed1.35.4-r0ALPINE-CVE-2024-1753
Alpine Linux 3.20podmanFixed4.9.4-r0ALPINE-CVE-2024-1753
Go librarygithub.com/containers/buildahFixed1.35.1GHSA-pmf3-c36m-g5cf
Go librarygithub.com/containers/podman/v4Fixed4.9.4GHSA-874v-pj72-92f3
Go librarygithub.com/containers/podman/v5Fixed5.0.1GHSA-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.

Workaround: When SELinux is enabled, the container is restricted to limited read-only access.

Vendor advisories:

References

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.