CVE-2024-1753 Buildah: buildah: container escape via improper bind mount validation
HighCVSS 8.6
EPSS 0.46%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
27 packages: 17 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-containers-buildah(Debian 12) | = 1.28.2+ds1-3; = 1.28.2+ds1-3+deb12u1; = 1.29.0+ds1-1; = 1.30.0+ds1-1 +56 more | No fix listed | No fix yet |
| ubuntu/golang-github-containers-buildah(Ubuntu 22.04) | = 1.21.3+ds1-1ubuntu1; = 1.23.1+ds1-2; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-containers-buildah(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-containers-buildah(Ubuntu 25.10) | = 1.39.3+ds1-1syncable1; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-containers-buildah(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-containers-buildah(Ubuntu 26.10) | = 1.42.1+ds1-2build1; = 1.43.2+ds1-3; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-containers-buildah(Ubuntu Pro 24.04) | = 1.28.2+ds1-3build1; = 1.32.2+ds1-1; = 1.33.1+ds1-2; = 1.33.3+ds1-2 +12 more | No fix listed | No fix yet |
| ubuntu/golang-github-containers-buildah(Ubuntu Pro 26.04) | = 1.39.3+ds1-1syncable1; = 1.42.1+ds1-2; = 1.42.1+ds1-2build1; = 1.42.1+ds1-2ubuntu0.26.04.1~esm1 +1 more | No fix listed | No fix yet |
| alpine/buildah(Alpine v3.20) | < 1.35.4-r0 | 1.35.4-r0 | Fixed |
| alpine/buildah(Alpine v3.21) | < 1.35.4-r0 | 1.35.4-r0 | Fixed |
| alpine/buildah(Alpine v3.22) | < 1.35.4-r0 | 1.35.4-r0 | Fixed |
| alpine/buildah(Alpine v3.23) | < 1.35.4-r0 | 1.35.4-r0 | Fixed |
| alpine/buildah(Alpine v3.24) | < 1.35.4-r0 | 1.35.4-r0 | Fixed |
| alpine/podman(Alpine v3.20) | < 4.9.4-r0 | 4.9.4-r0 | Fixed |
| alpine/podman(Alpine v3.21) | < 4.9.4-r0 | 4.9.4-r0 | Fixed |
| alpine/podman(Alpine v3.22) | < 4.9.4-r0 | 4.9.4-r0 | Fixed |
| alpine/podman(Alpine v3.23) | < 4.9.4-r0 | 4.9.4-r0 | Fixed |
| alpine/podman(Alpine v3.24) | < 4.9.4-r0 | 4.9.4-r0 | Fixed |
| containers github.com/containers/buildah(Go) | < 1.35.1; >= 1.24.0, < 1.24.7; >= 1.25.0, < 1.27.4; >= 1.28.0, < 1.29.3 +5 more | 1.24.7, 1.27.4, 1.29.3, 1.31.5, 1.32.3, 1.33.7, 1.34.3, 1.35.1 | Fixed |
| containers github.com/containers/podman/v4(Go) | < 4.9.4; < 5.0.1 | 4.9.4, 5.0.1 | Fixed |
| debian/golang-github-containers-buildah(Debian 13) | < 1.33.7+ds1-1 | 1.33.7+ds1-1 | Fixed |
| debian/golang-github-containers-buildah(Debian 14) | < 1.33.7+ds1-1 | 1.33.7+ds1-1 | Fixed |
| redhat enterprise linux | < 1:1.31.5-1.el9_3; < 4:4.9.4-3.el9_4; < 8090020240413110917.d7b6f4b7; < 8090020240417184044.e7857ab1 +1 more | 1:1.31.5-1.el9_3, 4:4.9.4-3.el9_4, 8090020240413110917.d7b6f4b7, 8090020240417184044.e7857ab1, 8100020240419145834.afee755d | Fixed |
| redhat openshift | < 3:4.4.1-3.2.rhaos4.12.el8; < 3:4.4.1-5.3.rhaos4.13.el8; < 3:4.4.1-7.3.rhaos4.13.el8; < 3:4.4.1-13.4.rhaos4.14.el8 +2 more | 3:4.4.1-3.2.rhaos4.12.el8, 3:4.4.1-5.3.rhaos4.13.el8, 3:4.4.1-7.3.rhaos4.13.el8, 3:4.4.1-13.4.rhaos4.14.el8, 3:4.4.1-23.2.rhaos4.15.el8 | Fixed |
| redhat rhel eus | < 1:1.26.7-1.el9_0; < 1:1.29.3-1.el9_2; < 2:4.2.0-3.el9_0; < 2:4.4.1-16.el9_2 +3 more | 1:1.26.7-1.el9_0, 1:1.29.3-1.el9_2, 2:4.2.0-3.el9_0, 2:4.4.1-16.el9_2, 8060020240419071711.2e213529, 8060020240422155330.3b538bd8, 8080020240422101606.0f77c1b7 | Fixed |
| buildah | = 4.15.0 | No fix listed | Versions listed |
| redhat rhel els | = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| containers github.com/containers/podman/v4(Go) | < 4.9.4 | 4.9.4 |
| containers github.com/containers/podman/v4(Go) | < 5.0.1 | 5.0.1 |
| containers github.com/containers/buildah(Go) | >= 1.35.0, < 1.35.1 | 1.35.1 |
| containers github.com/containers/buildah(Go) | >= 1.34.0, < 1.34.3 | 1.34.3 |
| containers github.com/containers/buildah(Go) | >= 1.33.0, < 1.33.7 | 1.33.7 |
| containers github.com/containers/buildah(Go) | >= 1.25.0, < 1.27.4 | 1.27.4 |
| containers github.com/containers/buildah(Go) | >= 1.24.0, < 1.24.7 | 1.24.7 |
| containers github.com/containers/buildah(Go) | >= 1.28.0, < 1.29.3 | 1.29.3 |
| containers github.com/containers/buildah(Go) | >= 1.30.0, < 1.31.5 | 1.31.5 |
| containers github.com/containers/buildah(Go) | >= 1.32.0, < 1.32.3 | 1.32.3 |
| containers github.com/containers/buildah(Go) | < 1.35.1 | 1.35.1 |
| debian/golang-github-containers-buildah(Debian:12) | All versions | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.28.2+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.28.2+ds1-3+deb12u1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.29.0+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.30.0+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.30.0+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.30.0+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.31.2+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.31.2+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.31.2+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.32.0+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.32.0+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.32.2+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.33.1+ds1-1 | No fix listed |
Show 109 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/golang-github-containers-buildah(Debian:12) | = 1.33.1+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.33.3+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.33.3+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.33.5+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.33.5+ds1-4 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.33.7+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.34.0+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.34.0+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.35.3+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.35.3+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.35.3+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.0+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.1+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.1+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.2+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.2+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.2+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.3+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.3+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.3+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.4+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.37.5+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.38.0+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.38.0+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.38.1+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.39.0+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.39.3+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.41.4+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.41.4+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.41.4+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.41.5+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.41.5+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.41.5+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.41.5+ds1-4 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.42.1+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.42.1+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.43.0+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.43.0+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.43.1+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.43.1+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.43.1+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.43.2+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.43.2+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.43.2+ds1-3 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.45.0+ds1-1 | No fix listed |
| debian/golang-github-containers-buildah(Debian:12) | = 1.45.0+ds1-2 | No fix listed |
| debian/golang-github-containers-buildah(Debian:13) | < 1.33.7+ds1-1 | 1.33.7+ds1-1 |
| debian/golang-github-containers-buildah(Debian:14) | < 1.33.7+ds1-1 | 1.33.7+ds1-1 |
| ubuntu/golang-github-containers-buildah(Ubuntu:22.04) | All versions | No fix listed |
| buildah | = 4.15.0 | No fix listed |
| redhat enterprise linux | < 8090020240413110917.d7b6f4b7 | 8090020240413110917.d7b6f4b7 |
| redhat enterprise linux | < 8090020240417184044.e7857ab1 | 8090020240417184044.e7857ab1 |
| redhat enterprise linux | < 8100020240419145834.afee755d | 8100020240419145834.afee755d |
| redhat rhel eus | < 8060020240422155330.3b538bd8 | 8060020240422155330.3b538bd8 |
| redhat rhel eus | < 8060020240419071711.2e213529 | 8060020240419071711.2e213529 |
| redhat rhel eus | < 8080020240422101606.0f77c1b7 | 8080020240422101606.0f77c1b7 |
| redhat enterprise linux | < 1:1.31.5-1.el9_3 | 1:1.31.5-1.el9_3 |
| redhat enterprise linux | < 4:4.9.4-3.el9_4 | 4:4.9.4-3.el9_4 |
| redhat rhel eus | < 1:1.26.7-1.el9_0 | 1:1.26.7-1.el9_0 |
| redhat rhel eus | < 2:4.2.0-3.el9_0 | 2:4.2.0-3.el9_0 |
| redhat rhel eus | < 1:1.29.3-1.el9_2 | 1:1.29.3-1.el9_2 |
| redhat rhel eus | < 2:4.4.1-16.el9_2 | 2:4.4.1-16.el9_2 |
| redhat openshift | < 3:4.4.1-3.2.rhaos4.12.el8 | 3:4.4.1-3.2.rhaos4.12.el8 |
| redhat openshift | < 3:4.4.1-5.3.rhaos4.13.el8 | 3:4.4.1-5.3.rhaos4.13.el8 |
| redhat openshift | < 3:4.4.1-7.3.rhaos4.13.el8 | 3:4.4.1-7.3.rhaos4.13.el8 |
| redhat openshift | < 3:4.4.1-13.4.rhaos4.14.el8 | 3:4.4.1-13.4.rhaos4.14.el8 |
| redhat openshift | < 3:4.4.1-23.2.rhaos4.15.el8 | 3:4.4.1-23.2.rhaos4.15.el8 |
| redhat rhel els | = 7 | No fix listed |
| redhat openshift | = 3.11 | No fix listed |
| alpine/buildah(Alpine:v3.20) | < 1.35.4-r0 | 1.35.4-r0 |
| alpine/buildah(Alpine:v3.21) | < 1.35.4-r0 | 1.35.4-r0 |
| alpine/buildah(Alpine:v3.22) | < 1.35.4-r0 | 1.35.4-r0 |
| alpine/buildah(Alpine:v3.23) | < 1.35.4-r0 | 1.35.4-r0 |
| alpine/buildah(Alpine:v3.24) | < 1.35.4-r0 | 1.35.4-r0 |
| alpine/podman(Alpine:v3.20) | < 4.9.4-r0 | 4.9.4-r0 |
| alpine/podman(Alpine:v3.21) | < 4.9.4-r0 | 4.9.4-r0 |
| alpine/podman(Alpine:v3.22) | < 4.9.4-r0 | 4.9.4-r0 |
| alpine/podman(Alpine:v3.23) | < 4.9.4-r0 | 4.9.4-r0 |
| alpine/podman(Alpine:v3.24) | < 4.9.4-r0 | 4.9.4-r0 |
| ubuntu/golang-github-containers-buildah(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:22.04) | = 1.21.3+ds1-1ubuntu1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:22.04) | = 1.23.1+ds1-2 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | All versions | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.28.2+ds1-3build1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.32.2+ds1-1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.1+ds1-2 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.3+ds1-2 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.5+ds1-4 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.5+ds1-4build1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.5+ds1-4build2 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.7+ds1-1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.7+ds1-1ubuntu0.24.04.1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.7+ds1-1ubuntu0.24.04.2 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.7+ds1-1ubuntu0.24.04.2+esm1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.7+ds1-1ubuntu0.24.04.2+esm2 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.7+ds1-1ubuntu0.24.04.3 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.7+ds1-1ubuntu0.24.04.3+esm2 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:24.04) | = 1.33.7+ds1-1ubuntu0.24.04.3+esm3 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:25.10) | = 1.39.3+ds1-1syncable1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:26.10) | = 1.42.1+ds1-2build1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:26.10) | = 1.43.2+ds1-3 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:26.04) | All versions | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:26.04) | = 1.39.3+ds1-1syncable1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:26.04) | = 1.42.1+ds1-2 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:26.04) | = 1.42.1+ds1-2build1 | No fix listed |
| ubuntu/golang-github-containers-buildah(Ubuntu:Pro:26.04) | = 1.42.1+ds1-2ubuntu0.26.04.1~esm1 | No fix listed |
References
- github.com issue-tracking vendor-advisory
- github.com issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- pkg.go.dev
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- github.com product
- RHBZ#2265513 issue-tracking
- access.redhat.com issue-tracking vdb-entry
- RHSA-2024:3254 vendor-advisory
- RHSA-2024:2877 vendor-advisory
- RHSA-2024:2784 vendor-advisory
- RHSA-2024:2672 vendor-advisory
- RHSA-2024:2669 vendor-advisory
- RHSA-2024:2645 vendor-advisory
- RHSA-2024:2548 vendor-advisory
- RHSA-2024:2098 vendor-advisory
- RHSA-2024:2097 vendor-advisory
- RHSA-2024:2090 vendor-advisory
- RHSA-2024:2089 vendor-advisory
- RHSA-2024:2084 vendor-advisory
- RHSA-2024:2077 vendor-advisory
- RHSA-2024:2066 vendor-advisory
- RHSA-2024:2064 vendor-advisory
- RHSA-2024:2055 vendor-advisory
- RHSA-2024:2049 vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com product
- github.com
- github.com
- Debian Security Tracker CVE-2024-1753 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2024-0867 third-party-advisory