CVE-2024-1753
Buildah: buildah: container escape via improper bind mount validation
- State
- Published
- Severity
- 8.6 High
- Published
- Mar 18, 2024
- Updated
- Sep 24, 2026
- Reserved
- Feb 22, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.6 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
Affected Products
| Product | Versions |
|---|---|
buildah |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat |
|
Red Hat OpenShift Container Platform 4.12Red Hat |
|
Red Hat OpenShift Container Platform 4.13Red Hat |
|
Red Hat OpenShift Container Platform 4.13Red Hat |
|
Red Hat OpenShift Container Platform 4.14Red Hat |
|
Red Hat OpenShift Container Platform 4.15Red Hat |
|
Red Hat Enterprise Linux 7Red Hat | |
Red Hat Enterprise Linux 7Red Hat | |
Red Hat OpenShift Container Platform 3.11Red Hat |
References
- RHSA-2024:2049vendor-advisory
- RHSA-2024:2055vendor-advisory
- RHSA-2024:2064vendor-advisory
- RHSA-2024:2066vendor-advisory
- RHSA-2024:2077vendor-advisory
- RHSA-2024:2084vendor-advisory
- RHSA-2024:2089vendor-advisory
- RHSA-2024:2090vendor-advisory
- RHSA-2024:2097vendor-advisory
- RHSA-2024:2098vendor-advisory
- RHSA-2024:2548vendor-advisory
- RHSA-2024:2645vendor-advisory
- RHSA-2024:2669vendor-advisory
- RHSA-2024:2672vendor-advisory
- RHSA-2024:2784vendor-advisory
- RHSA-2024:2877vendor-advisory
- RHSA-2024:3254vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-1753vdb-entry
- RHBZ#2265513issue-tracking
- https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf
- https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3
- 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/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.