hoch7.8
CVE-2024-9675
Buildah allows arbitrary directory mount
Auswirkung
A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a `RUN` instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/containers/buildah | < 1.38.0 | 1.38.0 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Buildah Project | Buildah | Alle Versionen |
| Red Hat | Enterprise Linux | Versionen 8.0, 9.0 |
| Red Hat | Enterprise Linux Eus | Versionen 8.8, 9.0, 9.2, 9.4 |
| Red Hat | Enterprise Linux For Arm 64 | Versionen 8.0_aarch64, 9.0_aarch64 |
| Red Hat | Enterprise Linux For Arm 64 Eus | Versionen 8.8_aarch64, 9.0_aarch64, 9.2_aarch64, 9.4_aarch64 |
| Red Hat | Enterprise Linux For IBM Z Systems | Versionen 8.0_s390x, 9.0_s390x |
| Red Hat | Enterprise Linux For IBM Z Systems Eus | Versionen 8.8_s390x, 9.0_s390x, 9.2_s390x, 9.4_s390x |
| Red Hat | Enterprise Linux For Power Little Endian | Versionen 8.0_ppc64le, 9.0_ppc64le |
| Red Hat | Enterprise Linux For Power Little Endian Eus | Versionen 8.8_ppc64le, 9.0_ppc64le, 9.2_ppc64le, 9.4_ppc64le |
| Red Hat | Enterprise Linux Server Aus | Versionen 8.6, 9.2, 9.4 |
| Red Hat | Enterprise Linux Server For Power Little Endian Update Services For SAP Solutions | Versionen 8.6_ppc64le, 8.8_ppc64le, 9.0_ppc64le, 9.2_ppc64le, 9.4_ppc64le |
| Red Hat | Openshift Container Platform | Versionen 4.13, 4.14, 4.15, 4.16, 4.17 |
| Red Hat | Red Hat Enterprise Linux 8 | Version patch: 8100020241023085649.afee755d |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | Version patch: 8060020241028154646.3b538bd8 |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | Version patch: 8080020241025064551.0f77c1b7 |
| Red Hat | Red Hat Enterprise Linux 9 | Versionen patch: 2:1.37.5-1.el9_5, patch: 4:4.9.4-16.el9_4, patch: 2:1.33.10-1.el9_4, patch: 4:5.2.2-9.el9_5 |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | Versionen patch: 2:4.2.0-5.el9_0.2, patch: 1:1.26.8-2.el9_0 |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | Version patch: v4.12.0-202503181728.p0.ge355452.assembly.stream.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | Versionen patch: 3:4.4.1-21.rhaos4.14.el8, patch: v4.14.0-202503060906.p0.gb03f3f5.assembly.stream.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | Versionen patch: 3:4.4.1-32.rhaos4.15.el8, patch: v4.15.0-202503060734.p0.gbc0b789.assembly.stream.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | Versionen patch: 4:4.9.4-12.rhaos4.16.el8, patch: v4.16.0-202503121138.p0.g31c3c26.assembly.stream.el9 |
| Red Hat | Red Hat OpenShift Container Platform 4.17 | Versionen patch: v4.17.0-202503041005.p0.gc3b0999.assembly.stream.el9, patch: 5:5.2.2-1.rhaos4.17.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.18 | Versionen patch: 0:4.18.0-202412111238.p0.g9c24d76.assembly.stream.el8, patch: 1:5.5.0-0.20240926163413.a635649.el9, patch: 0:2.1-2.el9, patch: 0:4.2.0-20.el9.1, patch: 0:4.4.2-6.0.el9, patch: 0:4.18.0-202502032331.p0.ga50d4c0.assembly.stream.el8 |
| Red Hat | Red Hat Quay 3 | Versionen patch: v3.13.2-11, patch: v3.13.2-1, patch: v3.13.2-10, patch: v3.13.2-2, patch: v3.13.2-4 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-586p-749j-fhwp
- https://nvd.nist.gov/vuln/detail/CVE-2024-9675
- https://access.redhat.com/security/cve/CVE-2024-9675
- https://bugzilla.redhat.com/show_bug.cgi?id=2317458
- https://github.com/containers/buildah/commit/aa67e5d71ee7ec07122a210baa3b13966a9e086c
- https://pkg.go.dev/vuln/GO-2024-3186
- https://access.redhat.com/errata/RHSA-2024:8563
- https://access.redhat.com/errata/RHSA-2024:8675
- https://access.redhat.com/errata/RHSA-2024:8679
- https://access.redhat.com/errata/RHSA-2024:8703
- https://access.redhat.com/errata/RHSA-2024:8707
- https://access.redhat.com/errata/RHSA-2024:8708
- https://access.redhat.com/errata/RHSA-2024:8709
- https://access.redhat.com/errata/RHSA-2024:8846
- https://access.redhat.com/errata/RHSA-2024:8686
- https://access.redhat.com/errata/RHSA-2024:8690
- https://access.redhat.com/errata/RHSA-2024:9051
- https://access.redhat.com/errata/RHSA-2024:8700
- https://access.redhat.com/errata/RHSA-2024:9459
- https://access.redhat.com/errata/RHSA-2024:9454
- https://access.redhat.com/errata/RHSA-2024:8984
- https://access.redhat.com/errata/RHSA-2024:8994
- https://access.redhat.com/errata/RHSA-2025:2454
- https://access.redhat.com/errata/RHSA-2025:2449
- https://access.redhat.com/errata/RHSA-2025:2445