{"id":"CVE-2024-1753","published":"2024-03-18T14:23:44Z","modified":"2026-11-04T21:08:58Z","title":"Buildah: buildah: container escape via improper bind mount validation","vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00457,"percentile":0.40509,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:2049","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2055","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2064","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2066","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2077","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2084","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2089","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2090","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2097","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2098","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2548","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2645","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2669","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2672","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2784","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2877","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:3254","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-1753","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2265513","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf","tags":[]},{"url":"https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2024-2658","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH/","tags":["x_transferred"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":8.1},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["4.15.0"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Extended Update Support","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Extended Update Support","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Extended Update Support","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.0 Extended Update Support","versions":["all versions"]}],"workarounds":{"items":["When SELinux is enabled, the container is restricted to limited read-only access."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-05-02T15:05:28.144862Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/containers/podman/v4","vulnerableRanges":["<4.9.4"],"patched":["4.9.4"],"from":["GHSA-874v-pj72-92f3"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman/v5","vulnerableRanges":["<5.0.1"],"patched":["5.0.1"],"from":["GHSA-874v-pj72-92f3"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/buildah","vulnerableRanges":["<1.35.1"],"patched":["1.35.1"],"from":["GO-2024-2658"],"provenance":"source"}],"summary":{"text":"A flaw in Buildah, and subsequently Podman Build, lets build-time containers mount arbitrary host filesystem locations, reachable through the Red Hat Enterprise Linux 8 packaging of these tools. An attacker who supplies a malicious Containerfile and gets it built, with a dummy image containing a symbolic link to the root filesystem used as the mount source, can gain read-write access to the host filesystem from inside a RUN step, which requires local access and user interaction to build the malicious file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:32Z"},"euvd":{"id":"EUVD-2024-0867","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-enterprise-linux-8-cve-2024-1753","children":[{"from":"CVE-2024-1753","to":"CVE-2024-9407","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/containers/podman/v5","fromFixed":"5.0.1","toFixed":"5.2.4","daysApart":197},{"kind":"same-code","provenance":"machine","files":["internal/volumes/volumes.go"],"commits":["https://github.com/containers/buildah/commit/3deda19137f5dec0285bbb832bd93c22d860b087","https://github.com/containers/buildah/commit/9de9c20ff368beb84b84fe660773d352519dc1c5","https://github.com/containers/buildah/commit/e4e2ad5ca2088d7c388109394135ead7aaf1f4f4"],"basis":"shared function","functions":["GetBindMount"]}]},{"from":"CVE-2024-1753","to":"CVE-2024-9675","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/volumes/volumes.go"],"commits":["https://github.com/containers/buildah/commit/3deda19137f5dec0285bbb832bd93c22d860b087","https://github.com/containers/buildah/commit/9de9c20ff368beb84b84fe660773d352519dc1c5","https://github.com/containers/buildah/commit/aa67e5d71ee7ec07122a210baa3b13966a9e086c"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-2989","published":"2022-09-13","fixed":"4.2.0","kev":false},{"cve":"CVE-2023-0778","published":"2023-03-27","fixed":"4.4.2","kev":false},{"cve":"CVE-2022-4122","published":"2022-12-08","fixed":"4.5.0","kev":false,"link":{"from":"CVE-2022-4122","to":"CVE-2024-1753","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/containers/podman/v4","fromFixed":"4.5.0","toFixed":"4.9.4","daysApart":466}]}},{"cve":"CVE-2024-1753","published":"2024-03-18","fixed":"4.9.4","kev":false},{"cve":"CVE-2024-9407","published":"2024-10-01","fixed":"5.2.4","kev":false},{"cve":"CVE-2026-94603","published":"2026-10-13","fixed":"5.8.8","kev":false}],"package":"Go:github.com/containers/podman/v4"}}