CVE-2024-1753 json
Buildah: buildah: container escape via improper bind mount validation
published 2024-03-18 2 y ago modified 2026-11-04 4 d ago also EUVD-2024-0867 , GHSA-874v-pj72-92f3 , GHSA-pmf3-c36m-g5cf , GO-2024-2658
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/containers/podman/v4 4.9.4
- go github.com/containers/podman/v5 5.0.1
- go github.com/containers/buildah 1.24.7, 1.27.4, 1.29.3, 1.31.5, 1.32.3, 1.33.7, 1.34.3, 1.35.1
- Red Hat Red Hat Enterprise Linux 8 8090020240413110917.d7b6f4b7, 8090020240417184044.e7857ab1, 8100020240419145834.afee755d
- Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support 8060020240419071711.2e213529, 8060020240422155330.3b538bd8
- Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support 8080020240422101606.0f77c1b7
- Red Hat Red Hat Enterprise Linux 9 1:1.31.5-1.el9_3, 4:4.9.4-3.el9_4
- Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support 1:1.26.7-1.el9_0, 2:4.2.0-3.el9_0
- Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support 1:1.29.3-1.el9_2, 2:4.4.1-16.el9_2
- Red Hat Red Hat OpenShift Container Platform 4.12 3:4.4.1-3.2.rhaos4.12.el8
- Red Hat Red Hat OpenShift Container Platform 4.13 3:4.4.1-5.3.rhaos4.13.el8, 3:4.4.1-7.3.rhaos4.13.el8
- Red Hat Red Hat OpenShift Container Platform 4.14 3:4.4.1-13.4.rhaos4.14.el8
- Red Hat Red Hat OpenShift Container Platform 4.15 3:4.4.1-23.2.rhaos4.15.el8
- golang-github-containers-buildah Debian 14, Debian 13 1.33.7+ds1-1
debian advisories DEBIAN-CVE-2024-1753
- crit RHEL 8 3.18-5.module+el8.10.0+21672+01ba06ae
- criu RHEL 8 3.18-5.module+el8.10.0+21672+01ba06ae
- crun RHEL 8 1.14.3-2.module+el8.10.0+21340+c6c7475a
- runc RHEL 8 1:1.1.12-1.module+el8.10.0+21251+62b7388c
- udica RHEL 8 0.2.6-21.module+el8.10.0+21672+01ba06ae
- conmon RHEL 8 3:2.1.10-1.module+el8.10.0+21077+98b84d8a
- podman RHEL 8 4:4.9.4-1.module+el8.10.0+21632+761e0d34
- skopeo RHEL 8 2:1.14.3-2.module+el8.10.0+21728+a1d9b0ab
red hat advisories RHSA-2024:3254RHSA-2024:2077RHSA-2024:2877RHSA-2024:2784RHSA-2024:2672RHSA-2024:2669
- podman Linux Micro 6.1 5.2.5-slfo.1.1_1.1
- podman SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 4.9.5-150300.9.43.1
- podman Linux Micro 6.0 4.9.5-1.1
- podman SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +3 more 4.9.5-150400.4.35.1
- buildah SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 1.35.4-150400.3.30.1
- buildah SLE Module for Containers 15 SP6, SLE Module for Containers 15 SP5, openSUSE Leap 15.6 +1 more 1.35.4-150500.3.10.1
- docker SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +18 more 25.0.6_ce-150000.207.1
- buildah SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 1.35.4-150300.8.25.1
suse advisories SUSE-SU-2025:20279-1SUSE-SU-2025:0775-1SUSE-SU-2025:20013-1SUSE-SU-2025:0267-1SUSE-SU-2024:3186-1SUSE-SU-2024:3151-1
- buildah openSUSE Tumbleweed 1.35.1-1.1
- podman openSUSE Tumbleweed 5.0.1-1.1
opensuse advisories openSUSE-SU-2024:13784-1openSUSE-SU-2024:13826-1
- crit AlmaLinux 8 3.18-5.module_el8.10.0+3845+87b84552
- criu AlmaLinux 8 3.18-5.module_el8.10.0+3845+87b84552
- crun AlmaLinux 8 1.14.3-2.module_el8.10.0+3845+87b84552
- runc AlmaLinux 8 1:1.1.12-1.module_el8.10.0+3845+87b84552
- udica AlmaLinux 8 0.2.6-21.module_el8.10.0+3845+87b84552
- conmon AlmaLinux 8 3:2.1.10-1.module_el8.10.0+3845+87b84552
- podman AlmaLinux 8 4:4.9.4-1.module_el8.10.0+3845+87b84552
- skopeo AlmaLinux 8 2:1.14.3-2.module_el8.10.0+3845+87b84552
almalinux advisories ALSA-2024:3254ALSA-2024:2548ALSA-2024:2084ALSA-2024:2098ALSA-2024:2055
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1815+5fe7415e
- crun Rocky Linux 8 1.14.3-2.module+el8.10.0+1815+5fe7415e
- runc Rocky Linux 8 1:1.1.12-1.module+el8.10.0+1815+5fe7415e
- udica Rocky Linux 8 0.2.6-21.module+el8.10.0+1815+5fe7415e
- conmon Rocky Linux 8 3:2.1.10-1.module+el8.10.0+1815+5fe7415e
- podman Rocky Linux 8 4:4.9.4-1.module+el8.10.0+1815+5fe7415e
- skopeo Rocky Linux 8 2:1.14.3-2.module+el8.10.0+1815+5fe7415e
- buildah Rocky Linux 8 2:1.33.7-1.module+el8.10.0+1825+623b0c20
rocky linux advisories RLSA-2024:3254RLSA-2024:2548RLSA-2024:2084RLSA-2024:2098
- podman Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 4.9.4-r0
- buildah Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 1.35.4-r0
alpine advisories ALPINE-CVE-2024-1753
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libcontainers-common Azure Linux 3.0 20240213-2
- buildah Azure Linux 3.0 1.41.4-2
- podman Azure Linux 3.0 5.6.1-2
azure linux advisories AZL-36899AZL-42546AZL-42561
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-1753 updated cvss 8.6
buildah: Buildah: Container escape via improper bind mount validation
-
Red Hat Enterprise Linux 7 podman Red Hat OpenShift Container Platform 3.11 podmanaffected: workaround, no fix planned “When SELinux is enabled, the container is restricted to limited read-only access.”
-
Red Hat Enterprise Linux AppStream (v. 8) crit 3.15-3.module+el8.9.0+21673+408ce8ab, crit 3.18-4.module+el8.9.0+21697+6a5e98e7, criu 3.15-3.module+el8.9.0+21673+408ce8ab, criu 3.18-4.module+el8.9.0+21697+6a5e98e7, crit 3.18-5.module+el8.10.0+21672+01ba06ae, criu 3.18-5.module+el8.10.0+21672+01ba06ae, +93 morefixed: vendor fix “When SELinux is enabled, the container is restricted to limited read-only access.” RHSA-2024:3254
-
Red Hat Enterprise Linux AppStream (v. 9) podman 4.9.4-3.el9_4, buildah 1.31.5-1.el9_3, podman-tests 4.9.4-3.el9_4, podman-docker 4.9.4-3.el9_4, podman-remote 4.9.4-3.el9_4, buildah-tests 1.31.5-1.el9_3, +1 morefixed: vendor fix “When SELinux is enabled, the container is restricted to limited read-only access.” RHSA-2024:2055
-
Red Hat Enterprise Linux AppStream EUS (v.8.6) crun 1.5-1.module+el8.6.0+21745+f5f35196, crit 3.15-3.module+el8.6.0+21719+09b58c97, crit 3.15-3.module+el8.6.0+21745+f5f35196, criu 3.15-3.module+el8.6.0+21719+09b58c97, criu 3.15-3.module+el8.6.0+21745+f5f35196, crun 1.4.4-1.module+el8.6.0+21719+09b58c97, +60 morefixed: vendor fix “When SELinux is enabled, the container is restricted to limited read-only access.” RHSA-2024:2097
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) crit 3.15-4.module+el8.8.0+21741+dd5be1e7, criu 3.15-4.module+el8.8.0+21741+dd5be1e7, crun 1.8.4-2.module+el8.8.0+21741+dd5be1e7, runc 1.1.12-1.module+el8.8.0+21741+dd5be1e7, conmon 2.1.6-1.module+el8.8.0+21741+dd5be1e7, udica 0.2.6-20.module+el8.8.0+21741+dd5be1e7, +27 morefixed: vendor fix “When SELinux is enabled, the container is restricted to limited read-only access.” RHSA-2024:2077
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) podman 4.2.0-3.el9_0, buildah 1.26.7-1.el9_0, podman-tests 4.2.0-3.el9_0, podman-docker 4.2.0-3.el9_0, podman-remote 4.2.0-3.el9_0, buildah-tests 1.26.7-1.el9_0, +3 morefixed: vendor fix “When SELinux is enabled, the container is restricted to limited read-only access.” RHSA-2024:2066
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) podman 4.4.1-16.el9_2, buildah 1.29.3-1.el9_2, podman-tests 4.4.1-16.el9_2, buildah-tests 1.29.3-1.el9_2, podman-docker 4.4.1-16.el9_2, podman-remote 4.4.1-16.el9_2, +2 morefixed: vendor fix “When SELinux is enabled, the container is restricted to limited read-only access.” RHSA-2024:2064
-
Red Hat OpenShift Container Platform 4.12 podman 4.4.1-3.2.rhaos4.12.el8, podman-tests 4.4.1-3.2.rhaos4.12.el8, podman-docker 4.4.1-3.2.rhaos4.12.el8, podman-remote 4.4.1-3.2.rhaos4.12.el8, podman-gvproxy 4.4.1-3.2.rhaos4.12.el8, podman-plugins 4.4.1-3.2.rhaos4.12.el8, +1 morefixed: vendor fix “When SELinux is enabled, the container is restricted to limited read-only access.” RHSA-2024:2784
show 4 moreshow fewer
-
Red Hat OpenShift Container Platform 4.13 podman 4.4.1-5.3.rhaos4.13.el8, podman 4.4.1-6.3.rhaos4.13.el9, podman 4.4.1-7.3.rhaos4.13.el8, podman 4.4.1-8.3.rhaos4.13.el9, podman-tests 4.4.1-5.3.rhaos4.13.el8, podman-tests 4.4.1-6.3.rhaos4.13.el9, +20 morefixed: vendor fix “When SELinux is enabled, the container is restricted to limited read-only access.” RHSA-2024:2049
-
Red Hat OpenShift Container Platform 4.14 podman 4.4.1-13.4.rhaos4.14.el8, podman 4.4.1-13.4.rhaos4.14.el9, podman-tests 4.4.1-13.4.rhaos4.14.el8, podman-tests 4.4.1-13.4.rhaos4.14.el9, podman-docker 4.4.1-13.4.rhaos4.14.el8, podman-docker 4.4.1-13.4.rhaos4.14.el9, +7 morefixed: vendor fix “When SELinux is enabled, the container is restricted to limited read-only access.” RHSA-2024:2672
-
Red Hat OpenShift Container Platform 4.15 podman 4.4.1-23.2.rhaos4.15.el8, podman 4.4.1-23.2.rhaos4.15.el9, podman-tests 4.4.1-23.2.rhaos4.15.el8, podman-tests 4.4.1-23.2.rhaos4.15.el9, podman-docker 4.4.1-23.2.rhaos4.15.el8, podman-docker 4.4.1-23.2.rhaos4.15.el9, +7 morefixed: vendor fix “When SELinux is enabled, the container is restricted to limited read-only access.” RHSA-2024:2669
-
Red Hat Enterprise Linux 7 buildah Red Hat OpenShift Container Platform 4.12 perf 4.18.0-372.103.1.el8_6, kernel 4.18.0-372.103.1.el8_6, bpftool 4.18.0-372.103.1.el8_6, skopeo 1.9.4-4.3.rhaos4.12.el8, skopeo 1.9.4-4.3.rhaos4.12.el9, kernel-core 4.18.0-372.103.1.el8_6, +37 more Red Hat OpenShift Container Platform 4.13 systemd 252-14.el9_2.7, cri-tools 1.26.0-4.2.el8, cri-tools 1.26.0-4.3.el9, ovn23.06 23.06.3-29.el9fdp, perf 5.14.0-284.64.1.el9_2, rtla 5.14.0-284.64.1.el9_2, +116 more Red Hat OpenShift Container Platform 4.14 cri-o 1.27.6-2.rhaos4.14.gitb3bd0bf.el8, cri-o 1.27.6-2.rhaos4.14.gitb3bd0bf.el9, openshift 4.14.0-202404301807.p0.gfd36fb9.assembly.stream.el8, openshift 4.14.0-202404301807.p0.gfd36fb9.assembly.stream.el9, openshift-hyperkube 4.14.0-202404301807.p0.gfd36fb9.assembly.stream.el8, openshift-hyperkube 4.14.0-202404301807.p0.gfd36fb9.assembly.stream.el9 Red Hat OpenShift Container Platform 4.15 cri-o 1.28.6-2.rhaos4.15.git77bbb1c.el8, cri-o 1.28.6-2.rhaos4.15.git77bbb1c.el9, openshift-ansible 4.15.0-202404302009.p0.gd5fd89c.assembly.stream.el8, openshift-ansible 4.15.0-202404302009.p0.gd5fd89c.assembly.stream.el9, openshift-clients 4.15.0-202404260736.p0.gfa6afba.assembly.stream.el8, openshift-clients 4.15.0-202404260736.p0.gfa6afba.assembly.stream.el9, +4 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/containers/podman/v4 | <4.9.4 |
4.9.4 |
| go | github.com/containers/podman/v5 | <5.0.1 |
5.0.1 |
| go | github.com/containers/buildah | >=1.35.0, <1.35.1 >=1.34.0, <1.34.3 >=1.33.0, <1.33.7 >=1.25.0, <1.27.4 >=1.24.0, <1.24.7 >=1.28.0, <1.29.3 >=1.30.0, <1.31.5 >=1.32.0, <1.32.3 <1.35.1 |
1.35.1 1.34.3 1.33.7 1.27.4 1.24.7 1.29.3 1.31.5 1.32.3 |
Affected products
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support
- Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support
- Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support
- Red Hat Red Hat OpenShift Container Platform 4.12
- Red Hat Red Hat OpenShift Container Platform 4.13
- Red Hat Red Hat OpenShift Container Platform 4.14
- Red Hat Red Hat OpenShift Container Platform 4.15
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat OpenShift Container Platform 3.11
Classification
References
-
github.com
/containers/buildah/commit/3deda19137f5dec0285bbb832bd93c22d860b087
web
-
github.com
/containers/buildah/commit/9de9c20ff368beb84b84fe660773d352519dc1c5
web, patch
-
github.com
/containers/buildah/commit/a030f7b8cd373075affef1f86de43a87e502f3d8
web
-
access.redhat.com
/errata/RHSA-2024:2049
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2055
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2064
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2066
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2077
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2084
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2089
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2090
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2097
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2098
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2548
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2645
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2669
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2672
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2784
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:2877
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3254
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2024-1753
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2265513
issue-tracking, web, report
-
github.com
/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf
web
-
github.com
/containers/podman/security/advisories/GHSA-874v-pj72-92f3
web
-
pkg.go.dev
/vuln/GO-2024-2658
web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH/
-
nvd.nist.gov
/vuln/detail/CVE-2024-1753
advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP
web
-
github.com
/containers/podman
package
-
github.com
/containers/buildah
package
Sources
- CVE List CVE-2024-1753
- GitHub Advisory GHSA-874v-pj72-92f3
- GitHub Advisory GHSA-pmf3-c36m-g5cf
- NVD CVE-2024-1753
- OSV GO-2024-2658
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.