CVE-2024-1753
Buildah: buildah: container escape via improper bind mount validation
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By redhat
- 25 days later
· 25 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High8.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High8.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.46% · top 60% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.6.
Weakness
Affected products
buildah
- affected 4.15.0
Red Hat · Red Hat Enterprise Linux 8
- unaffected 8090020240413110917.d7b6f4b7 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 8090020240417184044.e7857ab1 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 8100020240419145834.afee755d – < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support
- unaffected 8060020240422155330.3b538bd8 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support
- unaffected 8060020240419071711.2e213529 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Support
- unaffected 8080020240422101606.0f77c1b7 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 1:1.31.5-1.el9_3 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 4:4.9.4-3.el9_4 – < *
Red Hat · Red Hat Enterprise Linux 9.0 Extended Update Support
- unaffected 1:1.26.7-1.el9_0 – < *
Red Hat · Red Hat Enterprise Linux 9.0 Extended Update Support
- unaffected 2:4.2.0-3.el9_0 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Extended Update Support
- unaffected 1:1.29.3-1.el9_2 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Extended Update Support
- unaffected 2:4.4.1-16.el9_2 – < *
Red Hat · Red Hat OpenShift Container Platform 4.12
- unaffected 3:4.4.1-3.2.rhaos4.12.el8 – < *
Red Hat · Red Hat OpenShift Container Platform 4.13
- unaffected 3:4.4.1-5.3.rhaos4.13.el8 – < *
Red Hat · Red Hat OpenShift Container Platform 4.13
- unaffected 3:4.4.1-7.3.rhaos4.13.el8 – < *
Red Hat · Red Hat OpenShift Container Platform 4.14
- unaffected 3:4.4.1-13.4.rhaos4.14.el8 – < *
Red Hat · Red Hat OpenShift Container Platform 4.15
- unaffected 3:4.4.1-23.2.rhaos4.15.el8 – < *
Red Hat · Red Hat Enterprise Linux 7
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 7
All versions: unknown
Red Hat · Red Hat OpenShift Container Platform 3.11
All versions: unknown
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/containers/podman/v4GHSA-874v-pj72-92f3 (opens in a new tab)
- Gogithub.com/containers/podman/v5GHSA-874v-pj72-92f3 (opens in a new tab)
What to do
Workaround: When SELinux is enabled, the container is restricted to limited read-only access.
References (25)
- RHSA-2024:2049 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2055 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2064 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2066 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2077 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2084 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2089 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2090 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2097 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2098 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2548 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2645 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2669 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2672 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2784 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2877 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3254 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2024-1753 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2265513 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf (opens in a new tab)x_transferred
- https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3 (opens in a new tab)x_transferred
- https://pkg.go.dev/vuln/GO-2024-2658 (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-874v-pj72-92f3 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-1753)Record last updated .