CVE-2024-1753
Buildah: buildah: container escape via improper bind mount validation
Also known as GHSA-874v-pj72-92f3, GHSA-pmf3-c36m-g5cf, GO-2024-2658
Mitigation
- Upgrade github.com/containers/podman/v4 to 4.9.4 or later.
- Upgrade github.com/containers/podman/v5 to 5.0.1 or later.
- Upgrade github.com/containers/buildah to one of 1.35.1, 1.34.3, 1.33.7, 1.27.4, 1.24.7, 1.29.3, 1.31.5, 1.32.3 (or later in the same release line).
- Vendor workaround: When SELinux is enabled, the container is restricted to limited read-only access.
Who should check
- Projects that depend on Go package github.com/containers/podman/v4 (< 4.9.4)
- Projects that depend on Go package github.com/containers/podman/v5 (< 5.0.1)
- Projects that depend on Go package github.com/containers/buildah (>= 1.35.0, < 1.35.1)
- Anyone running buildah 4.15.0
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 8.6 Extended Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.8 Extended Update Support all versions
- Anyone running Red Hat Enterprise Linux 9 all versions
Vulnerability facts
- Affected
- github.com/containers/podman/v4 < 4.9.4; github.com/containers/podman/v5 < 5.0.1; github.com/containers/buildah >= 1.35.0, < 1.35.1
- Fixed in
- 4.9.4, 5.0.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
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 8.6 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.50% chance of exploitation in 30 days (percentile 36, 2026-11-26)
- CWE
- CWE-59
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-1753. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-1753.md Affected: github.com/containers/podman/v4 < 4.9.4; github.com/containers/podman/v5 < 5.0.1; github.com/containers/buildah >= 1.35.0, < 1.35.1 Fixed in: 4.9.4, 5.0.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 Steps: 1. Search this machine and project for github.com/containers/podman/v4 (Go), github.com/containers/podman/v5 (Go), github.com/containers/buildah (Go), buildah, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.6 Extended Update Support: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- 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
- https://access.redhat.com/errata/RHSA-2024:2877
- https://access.redhat.com/errata/RHSA-2024:3254
- https://access.redhat.com/errata/RHSA-2026:102524
- https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf
- https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3
- https://nvd.nist.gov/vuln/detail/CVE-2024-1753
Patches
Other
- https://access.redhat.com/security/cve/CVE-2024-1753
- https://bugzilla.redhat.com/show_bug.cgi?id=2265513
- https://pkg.go.dev/vuln/GO-2024-2658
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP
- https://github.com/containers/podman
- https://github.com/containers/buildah
FAQ
Is CVE-2024-1753 being exploited?
There is no confirmed exploitation: CVE-2024-1753 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-1753?
High: CVSS 8.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2024-1753?
github.com/containers/podman/v4 < 4.9.4; github.com/containers/podman/v5 < 5.0.1; github.com/containers/buildah >= 1.35.0, < 1.35.1.
Is there a fix for CVE-2024-1753?
Yes. Fixed in 4.9.4, 5.0.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. Upgrade github.com/containers/podman/v4 to 4.9.4 or later. Upgrade github.com/containers/podman/v5 to 5.0.1 or later. Upgrade github.com/containers/buildah to one of 1.35.1, 1.34.3, 1.33.7, 1.27.4, 1.24.7, 1.29.3, 1.31.5, 1.32.3 (or later in the same release line). Vendor workaround: When SELinux is enabled, the container is restricted to limited read-only access.
How do I check if I'm affected by CVE-2024-1753?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.