Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Not supplied / Not supplied | affected 4.15.0 |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected 8090020240413110917.d7b6f4b7 before * |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected 8090020240417184044.e7857ab1 before * |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected 8100020240419145834.afee755d before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Extended Update Support | unaffected 8060020240422155330.3b538bd8 before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Extended Update Support | unaffected 8060020240419071711.2e213529 before * |
| Red Hat / Red Hat Enterprise Linux 8.8 Extended Update Support | unaffected 8080020240422101606.0f77c1b7 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 1:1.31.5-1.el9_3 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 4:4.9.4-3.el9_4 before * |
| Red Hat / Red Hat Enterprise Linux 9.0 Extended Update Support | unaffected 1:1.26.7-1.el9_0 before * |
| Red Hat / Red Hat Enterprise Linux 9.0 Extended Update Support | unaffected 2:4.2.0-3.el9_0 before * |
| Red Hat / Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 1:1.29.3-1.el9_2 before * |
| Red Hat / Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 2:4.4.1-16.el9_2 before * |
| Red Hat / Red Hat OpenShift Container Platform 4.12 | unaffected 3:4.4.1-3.2.rhaos4.12.el8 before * |
| Red Hat / Red Hat OpenShift Container Platform 4.13 | unaffected 3:4.4.1-5.3.rhaos4.13.el8 before * |
| Red Hat / Red Hat OpenShift Container Platform 4.13 | unaffected 3:4.4.1-7.3.rhaos4.13.el8 before * |
| Red Hat / Red Hat OpenShift Container Platform 4.14 | unaffected 3:4.4.1-13.4.rhaos4.14.el8 before * |
| Red Hat / Red Hat OpenShift Container Platform 4.15 | unaffected 3:4.4.1-23.2.rhaos4.15.el8 before * |
| Red Hat / Red Hat Enterprise Linux 7 | unaffected |
| Red Hat / Red Hat Enterprise Linux 7 | unknown |
| Red Hat / Red Hat OpenShift Container Platform 3.11 | unknown |
CWE
CWE-59
References
- 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/security/cve/CVE-2024-1753
- https://bugzilla.redhat.com/show_bug.cgi?id=2265513
- 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
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.
- 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/security/cve/CVE-2024-1753
- https://bugzilla.redhat.com/show_bug.cgi?id=2265513
- https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf
- https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3
- 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/